search for: main_dom

Displaying 1 result from an estimated 1 matches for "main_dom".

Did you mean: main_domid
2006 Jan 13
0
[PATCH] Fix error(help) messages in main.py and shutdown.py
...uot;shutdown", "-R"] + args) diff -r 1e1107e3d894 tools/python/xen/xm/shutdown.py --- a/tools/python/xen/xm/shutdown.py Wed Jan 11 19:14:27 2006 +++ b/tools/python/xen/xm/shutdown.py Thu Jan 12 19:08:31 2006 @@ -92,7 +92,9 @@ shutdown(opts, None, mode, opts.vals.wait) def main_dom(opts, args): - if len(args) < 1: opts.err(''Missing domain'') + from xen.xm.main import arg_check + arg_check(args, "shutdown", 1, 4) + dom = args[0] mode = shutdown_mode(opts) shutdown(opts, [ dom ], mode, opts.vals.wait) _____________________...