Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/dotenv/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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:
Expand Down