Skip to content

Commit 4b1f9bb

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 2370340 commit 4b1f9bb

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

news/3844.behavior.rst

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Re-enable ``--help`` option for ``pipenv run`` command.

pipenv/cli/command.py

-1
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)