From 7408fe83374a27bcbcb1b11d04f5db01575130e1 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Wed, 5 Dec 2007 10:40:19 +0000 Subject: xm: Fix help message of xm info. Signed-off-by: Masaki Kanno --- tools/python/xen/xm/main.py | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py index 78958ce9da..b8172eb06b 100644 --- a/tools/python/xen/xm/main.py +++ b/tools/python/xen/xm/main.py @@ -133,7 +133,7 @@ SUBCOMMAND_HELP = { 'domname' : ('', 'Convert a domain id to domain name.'), 'dump-core' : ('[-L|--live] [-C|--crash] [Filename]', 'Dump core for a specific domain.'), - 'info' : ('', 'Get information about Xen host.'), + 'info' : ('[-c|--config]', 'Get information about Xen host.'), 'log' : ('', 'Print Xend log'), 'rename' : (' ', 'Rename a domain.'), 'sched-sedf' : (' [options]', 'Get/set EDF parameters.'), @@ -237,17 +237,20 @@ SUBCOMMAND_OPTIONS = { ('-C', '--crash', 'Crash domain after dumping core'), ), 'start': ( - ('-p', '--paused', 'Do not unpause domain after starting it'), - ('-c', '--console_autoconnect', 'Connect to the console after the domain is created'), + ('-p', '--paused', 'Do not unpause domain after starting it'), + ('-c', '--console_autoconnect', 'Connect to the console after the domain is created'), ), 'resume': ( - ('-p', '--paused', 'Do not unpause domain after resuming it'), + ('-p', '--paused', 'Do not unpause domain after resuming it'), ), 'save': ( - ('-c', '--checkpoint', 'Leave domain running after creating snapshot'), + ('-c', '--checkpoint', 'Leave domain running after creating snapshot'), ), - 'restore': ( - ('-p', '--paused', 'Do not unpause domain after restoring it'), + 'restore': ( + ('-p', '--paused', 'Do not unpause domain after restoring it'), + ), + 'info': ( + ('-c', '--config', 'List Xend configuration parameters'), ), } -- cgit v1.2.3