mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix printing of usage when OptionError is thrown.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
92e6c93c21
commit
cbdf115ddb
1 file changed
+1
-1
@@ -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:
|
||||
|
||||