|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Fix printing of usage when OptionError is
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1166379880 0
# Node ID ab232025ae2969a0a5222d4282ed1c8b4fa3fe6e
# Parent f944e13ce50ae59a0d39cf52e19519af4d1ef694
Fix printing of usage when OptionError is thrown.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/python/xen/xm/main.py | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r f944e13ce50a -r ab232025ae29 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py Sat Dec 16 12:54:43 2006 +0000
+++ b/tools/python/xen/xm/main.py Sun Dec 17 18:24:40 2006 +0000
@@ -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:
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] Fix printing of usage when OptionError is thrown.,
Xen patchbot-unstable <=
|
|
|
|
|