From: Masaki Kanno Subject: [PATCH] xm: Show usage message of xm commands Date: Wed, 24 Feb 2010 09:22:51 +0900 Message-ID: <26CAB4E77FF8CDkanno.masaki@jp.fujitsu.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-gqB48yovfpUumYTboqWPA" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --Boundary-gqB48yovfpUumYTboqWPA Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Description: Mail message body Hi, 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 [--long] List virtual block devices for a domain. Signed-off-by: Masaki Kanno Best regards, Kan --Boundary-gqB48yovfpUumYTboqWPA Content-Type: application/octet-stream; name="show_usage.patch" Content-Disposition: attachment; filename="show_usage.patch" Content-Transfer-Encoding: base64 ZGlmZiAtciA0YmE0MzIzODg5YjkgdG9vbHMvcHl0aG9uL3hlbi94bS9tYWluLnB5Ci0tLSBh L3Rvb2xzL3B5dGhvbi94ZW4veG0vbWFpbi5weQlNb24gRmViIDIyIDE4OjQ3OjIyIDIwMTAg KzAwMDAKKysrIGIvdG9vbHMvcHl0aG9uL3hlbi94bS9tYWluLnB5CVdlZCBGZWIgMjQgMDk6 MDg6NDkgMjAxMCArMDkwMApAQCAtMjEyMiw3ICsyMTIyLDcgQEAKICAgICAgICAgKG9wdGlv bnMsIHBhcmFtcykgPSBnZXRvcHQuZ251X2dldG9wdChhcmdzLCAnbCcsIFsnbG9uZyddKQog ICAgIGV4Y2VwdCBnZXRvcHQuR2V0b3B0RXJyb3IsIG9wdGVycjoKICAgICAgICAgZXJyKG9w dGVycikKLSAgICAgICAgc3lzLmV4aXQoMSkKKyAgICAgICAgdXNhZ2UobmFtZSkKIAogICAg IGZvciAoaywgdikgaW4gb3B0aW9uczoKICAgICAgICAgaWYgayBpbiBbJy1sJywgJy0tbG9u ZyddOgo= --Boundary-gqB48yovfpUumYTboqWPA Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --Boundary-gqB48yovfpUumYTboqWPA--