diff --git a/pipenv/cli.py b/pipenv/cli.py index f0abc41d..b5f9f01f 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -2312,6 +2312,7 @@ cli.add_command(check) cli.add_command(shell) cli.add_command(run) +# Only invoke the "did you mean" when an argument wasn't passed (it breaks those). if '-' not in ''.join(sys.argv) and len(sys.argv) > 1: cli = DYMCommandCollection(sources=[cli])