From: Masaki Kanno Subject: [PATCH] Fix help message printing function Date: Tue, 03 Oct 2006 23:09:37 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-KsAwSjwVyhlieT4PbRSNu" 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-KsAwSjwVyhlieT4PbRSNu Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Description: Mail message body Hi, When I tested xm commands by short spell, I found a wrong behaviour in help message printing function. If xm commands by full spell, the help message of the command is printed. But, if xm commands by short spell, the short help message is printed. # xm li No-exist-vm Error: Domain 'No-exist-vm' does not exist. Usage: xm [args] Control, list, and manipulate Xen guest instances. Common 'xm' commands: console Attach to 's console. create Create a domain based on . (snip) # xm list No-exist-vm Error: Domain 'No-exist-vm' does not exist. Usage: xm list [options] [Domain, ...] List information about all/some domains. -l, --long Output all VM details in SXP --label Include security labels This patch fixes the wrong behaviour. # xm li No-exist-vm Error: Domain 'No-exist-vm' does not exist. Usage: xm list [options] [Domain, ...] List information about all/some domains. -l, --long Output all VM details in SXP --label Include security labels # xm list No-exist-vm Error: Domain 'No-exist-vm' does not exist. Usage: xm list [options] [Domain, ...] List information about all/some domains. -l, --long Output all VM details in SXP --label Include security labels Signed-off-by: Masaki Kanno Best regards, Kan --Boundary-KsAwSjwVyhlieT4PbRSNu Content-Type: application/octet-stream; name="cmdHelp.patch" Content-Disposition: attachment; filename="cmdHelp.patch" Content-Transfer-Encoding: base64 ZGlmZiAtciBmNDI2ZjZlNjQ2ZWIgdG9vbHMvcHl0aG9uL3hlbi94bS9tYWluLnB5Ci0tLSBh L3Rvb2xzL3B5dGhvbi94ZW4veG0vbWFpbi5weQlNb24gT2N0IDAyIDE4OjA0OjU2IDIwMDYg KzAxMDAKKysrIGIvdG9vbHMvcHl0aG9uL3hlbi94bS9tYWluLnB5CVR1ZSBPY3QgMDMgMjI6 Mzc6NTcgMjAwNiArMDkwMApAQCAtMjkwLDYgKzI5MCwxMSBAQCBhbGxfY29tbWFuZHMgPSAo ZG9tYWluX2NvbW1hbmRzICsgaG9zdF9jCiAKIGRlZiBjbWRIZWxwKGNtZCk6CiAgICAgIiIi UHJpbnQgaGVscCBmb3IgYSBzcGVjaWZpYyBzdWJjb21tYW5kLiIiIgorICAgIAorICAgIGZv ciBmYyBpbiBTVUJDT01NQU5EX0hFTFAua2V5cygpOgorICAgICAgICBpZiBmY1s6bGVuKGNt ZCldID09IGNtZDoKKyAgICAgICAgICAgIGNtZCA9IGZjCisgICAgICAgICAgICBicmVhawog ICAgIAogICAgIHRyeToKICAgICAgICAgYXJncywgZGVzYyA9IFNVQkNPTU1BTkRfSEVMUFtj bWRdCg== --Boundary-KsAwSjwVyhlieT4PbRSNu 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-KsAwSjwVyhlieT4PbRSNu--