diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-06-27 11:05:39 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-06-27 11:05:39 +0100 |
commit | db57f1b6d8534b39dd1b757cb507d9f285f21ccc (patch) | |
tree | d95b65a4b2197486f5a0a80d264402561ee23d4f /tools/vtpm | |
parent | 3d8026009baf3bbf0ee8a7a7cf7f2d42628d8a01 (diff) | |
download | xen-db57f1b6d8534b39dd1b757cb507d9f285f21ccc.tar.gz xen-db57f1b6d8534b39dd1b757cb507d9f285f21ccc.tar.bz2 xen-db57f1b6d8534b39dd1b757cb507d9f285f21ccc.zip |
[TOOLS] Fix cm argument processing some more:
1. Remove has_long_option() and add arg_check_for_resource_list()
instead.
2. 'args' tells 'options' from 'params' by using gnu_getopt().
3. 'options' checks whether -l/--long option is specified.
4. If 'params' not given, print out 'No domain parameter given'
and usage.
5. If 'params' given multiple domains, print out
'No multiple domain parameters allowed' and usage.
6. Then it displays the resources as usual.
Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
Diffstat (limited to 'tools/vtpm')
0 files changed, 0 insertions, 0 deletions