Fix printing of usage when OptionError is thrown.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
Ewan Mellor committed 2006-12-17 18:24:40 +00:00
1 parent 92e6c93c21
commit cbdf115ddb
1 file changed
+1 -1
+1 -1
View File
@@ -1802,7 +1802,7 @@ def _run_cmd(cmd, cmd_name, args):
except OptionError, e:
err(str(e))
_usage(cmd_name)
print e.usage()
print e.usage
except security.ACMError, e:
err(str(e))
except:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.