# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1196851219 0
# Node ID 0974e59dd744adf0be9924d2cdf222733e53ac0f
# Parent 6d879bb3f6f058fabf6c98748c985a83eea21fda
xm: Fix help message of xm info.
Signed-off-by: Masaki Kanno <kanno.masaki@xxxxxxxxxxxxxx>
---
tools/python/xen/xm/main.py | 17 ++++++++++-------
1 files changed, 10 insertions(+), 7 deletions(-)
diff -r 6d879bb3f6f0 -r 0974e59dd744 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py Wed Dec 05 10:34:15 2007 +0000
+++ b/tools/python/xen/xm/main.py Wed Dec 05 10:40:19 2007 +0000
@@ -133,7 +133,7 @@ SUBCOMMAND_HELP = {
'domname' : ('<DomId>', 'Convert a domain id to domain name.'),
'dump-core' : ('[-L|--live] [-C|--crash] <Domain> [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' : ('<Domain> <NewDomainName>', 'Rename a domain.'),
'sched-sedf' : ('<Domain> [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'),
),
}
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|