From 6cf0136e18fd5a417a51bae7297346f5f9b09f26 Mon Sep 17 00:00:00 2001 From: Chakib Fettal <40745464+chakib401@users.noreply.github.com> Date: Thu, 8 Aug 2024 14:59:12 +0200 Subject: [PATCH] Update cli.py --- src/flask/cli.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/flask/cli.py b/src/flask/cli.py index ecb292a0..55b5ef5c 100644 --- a/src/flask/cli.py +++ b/src/flask/cli.py @@ -505,10 +505,15 @@ _env_file_option = click.Option( ["-e", "--env-file"], type=click.Path(exists=True, dir_okay=False), help="Load environment variables from this file. python-dotenv must be installed.", + help=( + "Load environment variables from this FILE in addition to environment " + "variables from '.env' and '.flaskenv' files. Does not override " + "environment variables from '.env' and '.flaskenv'. " + "python-dotenv must be installed." + ), is_eager=True, expose_value=False, callback=_env_file_callback, -) class FlaskGroup(AppGroup):