We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When you call " help some_undefined_command", it throws a KeyError. I've found a work around from another part of the code. The patch I'm using is:
--- subcommand.py 2010-10-05 19:14:23.000000000 -0400 +++ other.py 2010-10-05 19:15:27.000000000 -0400 @@ -209,7 +209,11 @@ """ if cmds: for cmd in cmds:
subcommand_lookup[cmd].showhelp()
if cmd in subcommand_lookup:
else:
print >> sys.stderr, "Unknown command:", cmd
print >> sys.stderr, "Type '%s help' for usage." % prog.name
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When you call " help some_undefined_command", it throws a KeyError. I've found a work around from another part of the code. The patch I'm using is:
--- subcommand.py 2010-10-05 19:14:23.000000000 -0400
+++ other.py 2010-10-05 19:15:27.000000000 -0400
@@ -209,7 +209,11 @@
"""
if cmds:
for cmd in cmds:
print "usage: %s [options] [args]" % prog.name
print
The text was updated successfully, but these errors were encountered: