Files
xen/tools/python
Keir Fraser d8f8f35470 xm: Show usage message of xm commands
The following commands don't show an usage message even if we give
a wrong option to the commands.

 - xm block-list
 - xm network-list
 - xm network2-list
 - xm vtpm-list
 - xm pci-list
 - xm scsi-list

e.g.
 # xm block-list --xxx vm1
 Error: option --xxx not recognized

This patch shows the usage message of the commands.

e.g.
 # xm block-list --xxx vm1
 Error: option --xxx not recognized
 Usage: xm block-list <Domain> [--long]
 List virtual block devices for a domain.

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
2010-02-24 10:46:49 +00:00
..
2010-02-24 10:46:49 +00:00
2009-08-16 08:43:50 +01:00
2007-04-16 21:21:42 +01:00
2009-11-13 15:33:37 +00:00

The file test.py here is from the Zope project, and is Copyright (c) 2001,
2002 Zope Corporation and Contributors.  This file is released under the Zope
Public License, version 2.0, a copy of which is in the file ZPL-2.0.