|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] Reset the option-parsing object before us
# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Date 1167749173 0
# Node ID 6b3bb79cb1c9ba0ec616164a640ddf7c0df9d619
# Parent 2390f017e24f0ecac42a120dfa218db535cf6ea1
Reset the option-parsing object before using it -- this means that the
option parsing works when using xm shell.
Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>
---
tools/python/xen/xm/migrate.py | 1 +
tools/python/xen/xm/shutdown.py | 1 +
2 files changed, 2 insertions(+)
diff -r 2390f017e24f -r 6b3bb79cb1c9 tools/python/xen/xm/migrate.py
--- a/tools/python/xen/xm/migrate.py Tue Jan 02 14:45:32 2007 +0000
+++ b/tools/python/xen/xm/migrate.py Tue Jan 02 14:46:13 2007 +0000
@@ -52,6 +52,7 @@ def help():
def main(argv):
opts = gopts
+ opts.reset()
args = opts.parse(argv)
if len(args) != 2:
diff -r 2390f017e24f -r 6b3bb79cb1c9 tools/python/xen/xm/shutdown.py
--- a/tools/python/xen/xm/shutdown.py Tue Jan 02 14:45:32 2007 +0000
+++ b/tools/python/xen/xm/shutdown.py Tue Jan 02 14:46:13 2007 +0000
@@ -118,6 +118,7 @@ def main_dom(opts, args):
def main(argv):
opts = gopts
+ opts.reset()
args = opts.parse(argv)
if opts.vals.help:
return
_______________________________________________
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] Reset the option-parsing object before using it -- this means that the,
Xen patchbot-unstable <=
|
|
|
|
|