From 8a9fee9f66652107dee86ca8ddc53a0619c9ee23 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Mon, 25 Sep 2017 14:07:35 -0400 Subject: [PATCH] fix args Signed-off-by: Kenneth Reitz --- pipenv/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/cli.py b/pipenv/cli.py index b23dfdbd..6bffb17f 100644 --- a/pipenv/cli.py +++ b/pipenv/cli.py @@ -2312,7 +2312,7 @@ cli.add_command(check) cli.add_command(shell) cli.add_command(run) -if len(sys.argv) > 1: +if '--' not in ''.join(sys.argv) and len(sys.argv) > 1: cli = DYMCommandCollection(sources=[cli]) if __name__ == '__main__':