From d5c4067d7bc487c830b6c15ed4d4f05995988067 Mon Sep 17 00:00:00 2001 From: tangchen Date: Fri, 7 Oct 2011 17:34:47 +0800 Subject: [PATCH] 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 --- AUTHORS | 1 + tools/virsh.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) 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} };