[libvirt] [PATCH] virsh: Update the help information for undefine command.

tangchen tangchen at cn.fujitsu.com
Fri Oct 7 09:34:47 UTC 2011


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 <tangchen at cn.fujitsu.com>
---
 tools/virsh.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/tools/virsh.c b/tools/virsh.c
index 48f2b8a..c3b467e 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -1897,8 +1897,10 @@ 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, active or inactive.")},
+    {"desc", N_("Undefine a domain. If the domain is running, this converts \n"
+		"    it to a transient domain, without stopping it. If the \n"
+		"    domain is inactive, the domain configuration is removed.")},
     {NULL, NULL}
 };
 
-- 
1.7.3.1

-- 
Best Regards,
Tang chen
--------------------------------------------------
Tang Chen
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
No.6 Wenzhu Road, Nanjing, 210012, China 
TEL: +86+25-86630566-8527
FUJITSU INTERNAL: 7998-8527
FAX: +86+25-83317685
EMail: tangchen at cn.fujitsu.com
--------------------------------------------------
This communication is for use by the intended recipient(s) only and may contain information that is privileged, confidential and exempt from disclosure under applicable law. If you are not an intended recipient of this communication, you are hereby notified that any dissemination, distribution or copying hereof is strictly prohibited.  If you have received this communication in error, please notify me by reply e-mail, permanently delete this communication from your system, and destroy any hard copies you may have printed

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Update-the-help-information-for-undefine-command.patch
Type: text/x-patch
Size: 1216 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20111007/fd336521/attachment-0001.bin>


More information about the libvir-list mailing list