Skip to content

Commit 50e4a09

Browse files
committed
run: re-enable --help option
To run a command called "--help" you need to use the usual "--" arguments separator: pipenv run -- --help
1 parent 47b310d commit 50e4a09

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

news/3844.behavior.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Re-enable ``--help`` option for ``pipenv run`` command.

pipenv/cli/command.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ def shell(
392392

393393

394394
@cli.command(
395-
add_help_option=False,
396395
short_help="Spawns a command installed into the virtualenv.",
397396
context_settings=subcommand_context_no_interspersion,
398397
)

0 commit comments

Comments
 (0)