diff --git a/src/dotenv/cli.py b/src/dotenv/cli.py index 83849690..13e4b6aa 100644 --- a/src/dotenv/cli.py +++ b/src/dotenv/cli.py @@ -56,7 +56,7 @@ def enumerate_env() -> Optional[str]: "--export", default=False, type=click.BOOL, - help="Whether to write the dot file as an executable bash script.", + help="Prefix assignments written by 'set' with 'export'.", ) @click.version_option(version=__version__) @click.pass_context @@ -188,7 +188,8 @@ def unset(ctx: click.Context, key: Any) -> None: @click.option( "--override/--no-override", default=True, - help="Override variables from the environment file with those from the .env file.", + help="Use .env values in place of existing environment variables (default). " + "Use --no-override to keep the existing values.", ) @click.argument("commandline", nargs=-1, type=click.UNPROCESSED) def run(ctx: click.Context, override: bool, commandline: tuple[str, ...]) -> None: