From: Masaki Kanno Subject: [PATCH] xm: Fix cmdHelp() for xm reset Date: Fri, 25 Apr 2008 16:09:57 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Boundary-uWAyjFrtGIT3IKglpzPTn" 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-uWAyjFrtGIT3IKglpzPTn Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: 7bit Content-Description: Mail message body Hi, I'd like to look at the help message of xm reset command, but the help message of xm resetpolicy command is shown. # xm reset --help Usage: xm resetpolicy Set the policy of the system to the default policy. Reset the system's policy to the default. When the system's policy is reset, all guest VMs should be halted, since otherwise this operation will fail. This patch fixes the problem. # xm reset --help Usage: xm reset Reset a domain. # xm resetpolicy --help Usage: xm resetpolicy Set the policy of the system to the default policy. Reset the system's policy to the default. When the system's policy is reset, all guest VMs should be halted, since otherwise this operation will fail. Signed-off-by: Masaki Kanno Best regards, Kan --Boundary-uWAyjFrtGIT3IKglpzPTn Content-Type: application/octet-stream; name="cmdHelp.patch" Content-Disposition: attachment; filename="cmdHelp.patch" Content-Transfer-Encoding: base64 ZGlmZiAtciA3N2RlYzg3MzJjZGUgdG9vbHMvcHl0aG9uL3hlbi94bS9tYWluLnB5Ci0tLSBh L3Rvb2xzL3B5dGhvbi94ZW4veG0vbWFpbi5weQlXZWQgQXByIDIzIDE2OjU4OjQ0IDIwMDgg KzAxMDAKKysrIGIvdG9vbHMvcHl0aG9uL3hlbi94bS9tYWluLnB5CUZyaSBBcHIgMjUgMTU6 NDY6MTcgMjAwOCArMDkwMApAQCAtNDE3LDEwICs0MTcsMTEgQEAgZGVmIGNtZEhlbHAoY21k KToKIGRlZiBjbWRIZWxwKGNtZCk6CiAgICAgIiIiUHJpbnQgaGVscCBmb3IgYSBzcGVjaWZp YyBzdWJjb21tYW5kLiIiIgogICAgIAotICAgIGZvciBmYyBpbiBTVUJDT01NQU5EX0hFTFAu a2V5cygpOgotICAgICAgICBpZiBmY1s6bGVuKGNtZCldID09IGNtZDoKLSAgICAgICAgICAg IGNtZCA9IGZjCi0gICAgICAgICAgICBicmVhaworICAgIGlmIG5vdCBTVUJDT01NQU5EX0hF TFAuaGFzX2tleShjbWQpOgorICAgICAgICBmb3IgZmMgaW4gU1VCQ09NTUFORF9IRUxQLmtl eXMoKToKKyAgICAgICAgICAgIGlmIGZjWzpsZW4oY21kKV0gPT0gY21kOgorICAgICAgICAg ICAgICAgIGNtZCA9IGZjCisgICAgICAgICAgICAgICAgYnJlYWsKICAgICAKICAgICB0cnk6 CiAgICAgICAgIGFyZ3MsIGRlc2MgPSBTVUJDT01NQU5EX0hFTFBbY21kXQo= --Boundary-uWAyjFrtGIT3IKglpzPTn 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-uWAyjFrtGIT3IKglpzPTn--