mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
bitkeeper revision 1.1159.1.68 (41207f4fvOWkrBmvJbwpyp6JQmumEg)
Fix problems with migrate help.
This commit is contained in:
1 parent
cf9d7415ab
commit
a0edce3e78
2 files changed
+3
-2
No files matched your search
@@ -302,10 +302,10 @@ class ProgMigrate(Prog):
|
||||
info = """Migrate a domain to another machine."""
|
||||
|
||||
def help(self, args):
|
||||
migrate.help(args)
|
||||
migrate.help([self.name] + args)
|
||||
|
||||
def main(self, args):
|
||||
migrate.main(args)
|
||||
migrate.main([self.name] + args)
|
||||
|
||||
xm.prog(ProgMigrate)
|
||||
|
||||
|
||||
@@ -23,6 +23,7 @@ gopts.opt('help', short='h',
|
||||
use="Print this help.")
|
||||
|
||||
def help(argv):
|
||||
gopts.argv = argv
|
||||
gopts.usage()
|
||||
|
||||
def main(argv):
|
||||
|
||||