From 4b1f9bb30aaa7957a5e9c164113cb90464c761af Mon Sep 17 00:00:00 2001 From: immerrr Date: Sat, 13 Jul 2019 10:43:24 +0200 Subject: [PATCH] run: re-enable --help option To run a command called "--help" you need to use the usual "--" arguments separator: pipenv run -- --help --- news/3844.behavior.rst | 1 + pipenv/cli/command.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) create mode 100644 news/3844.behavior.rst diff --git a/news/3844.behavior.rst b/news/3844.behavior.rst new file mode 100644 index 0000000000..2648e8398b --- /dev/null +++ b/news/3844.behavior.rst @@ -0,0 +1 @@ +Re-enable ``--help`` option for ``pipenv run`` command. diff --git a/pipenv/cli/command.py b/pipenv/cli/command.py index d1bcaa939d..f0f63bc605 100644 --- a/pipenv/cli/command.py +++ b/pipenv/cli/command.py @@ -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, )