From: tangchen Date: Fri, 7 Oct 2011 09:34:47 +0000 (+0800) Subject: virsh: Update the help information for undefine command. X-Git-Tag: v0.9.7-rc1~176 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5c4067d7bc487c830b6c15ed4d4f05995988067;p=thirdparty%2Flibvirt.git virsh: Update the help information for undefine command. virsh undefine command can now undefine an active guest, but the help information is still the old. This patch modifies it and make it coincident to the manpage of virsh. Signed-off-by: tangchen --- diff --git a/AUTHORS b/AUTHORS index 71bb95c3e1..894a788e94 100644 --- a/AUTHORS +++ b/AUTHORS @@ -195,6 +195,7 @@ Patches have also been contributed by: Xu He Jie Lei Li Matthias Witte + Tang Chen [....send patches to get your name here....] diff --git a/tools/virsh.c b/tools/virsh.c index 3da8bc5288..9532bc303a 100644 --- a/tools/virsh.c +++ b/tools/virsh.c @@ -1897,8 +1897,9 @@ cmdDefine(vshControl *ctl, const vshCmd *cmd) * "undefine" command */ static const vshCmdInfo info_undefine[] = { - {"help", N_("undefine an inactive domain")}, - {"desc", N_("Undefine the configuration for an inactive domain.")}, + {"help", N_("undefine a domain")}, + {"desc", + N_("Undefine an inactive domain, or convert persistent to transient.")}, {NULL, NULL} };