Signed-off-by: Kenneth Reitz <me@kennethreitz.org>
This commit is contained in:
2017-09-25 14:12:15 -04:00
parent c17a720f89
commit ed3fd49a74
+1
View File
@@ -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])