From ed3fd49a74ebdb9c9194eca39cfce1d6100b3ab1 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 25 Sep 2017 14:12:15 -0400 Subject: [PATCH] comment Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 1 + 1 file changed, 1 insertion(+) 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])