Skip to content

Commit

Permalink
run: re-enable --help option
Browse files Browse the repository at this point in the history
To run a command called "--help" you need to use the usual "--" arguments
separator:

pipenv run -- --help
  • Loading branch information
immerrr committed Jul 14, 2019
1 parent 47b310d commit 50e4a09
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions news/3844.behavior.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Re-enable ``--help`` option for ``pipenv run`` command.
1 change: 0 additions & 1 deletion pipenv/cli/command.py
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,6 @@ def shell(


@cli.command(
add_help_option=False,
short_help="Spawns a command installed into the virtualenv.",
context_settings=subcommand_context_no_interspersion,
)
Expand Down

0 comments on commit 50e4a09

Please sign in to comment.