ia64/xen-unstable

changeset 16557:8e6c01aef56d

xm: Fix help messages of xm vcpu-list/uptime

We can give multiple domains to the following commands.
But, the help messages of the commands are explained to be able
to give a single domain.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Dec 07 12:44:27 2007 +0000 (2007-12-07)
parents 14830da3fa9d
children c0f7ba3aa9b2
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Fri Dec 07 12:43:06 2007 +0000
     1.2 +++ b/tools/python/xen/xm/main.py	Fri Dec 07 12:44:27 2007 +0000
     1.3 @@ -114,7 +114,8 @@ SUBCOMMAND_HELP = {
     1.4      'shutdown'    : ('<Domain> [-waRH]', 'Shutdown a domain.'),
     1.5      'top'         : ('', 'Monitor a host and the domains in real time.'),
     1.6      'unpause'     : ('<Domain>', 'Unpause a paused domain.'),
     1.7 -    'uptime'      : ('[-s] <Domain>', 'Print uptime for a domain.'),
     1.8 +    'uptime'      : ('[-s] [Domain, ...]',
     1.9 +                     'Print uptime for all/some domains.'),
    1.10  
    1.11      # Life cycle xm commands
    1.12      'new'         : ('<ConfigFile> [options] [vars]',
    1.13 @@ -143,8 +144,8 @@ SUBCOMMAND_HELP = {
    1.14      'debug-keys'  : ('<Keys>', 'Send debug keys to Xen.'),
    1.15      'trigger'     : ('<Domain> <nmi|reset|init> [<VCPU>]',
    1.16                       'Send a trigger to a domain.'),
    1.17 -    'vcpu-list'   : ('[<Domain>]',
    1.18 -                     'List the VCPUs for a domain or all domains.'),
    1.19 +    'vcpu-list'   : ('[Domain, ...]',
    1.20 +                     'List the VCPUs for all/some domains.'),
    1.21      'vcpu-pin'    : ('<Domain> <VCPU|all> <CPUs|all>',
    1.22                       'Set which CPUs a VCPU can use.'),
    1.23      'vcpu-set'    : ('<Domain> <vCPUs>',