[libvirt] [PATCH] node_memory: Add '\n' to help message

Satoru Moriya satoru.moriya at hds.com
Thu Jan 24 19:40:51 UTC 2013


Linefeed is missed in the help of node-memory-tune.
This patch just adds '\n' to get a correct help message.

Signed-off-by: Satoru Moriya <satoru.moriya at hds.com>
---
 tools/virsh-host.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virsh-host.c b/tools/virsh-host.c index d05e435..b83c893 100644
--- a/tools/virsh-host.c
+++ b/tools/virsh-host.c
@@ -764,7 +764,7 @@ cmdVersion(vshControl *ctl, const vshCmd *cmd ATTRIBUTE_UNUSED)
 
 static const vshCmdInfo info_node_memory_tune[] = {
     {"help", N_("Get or set node memory parameters")},
-    {"desc", N_("Get or set node memory parameters"
+    {"desc", N_("Get or set node memory parameters\n"
                 "    To get the memory parameters, use following command: \n\n"
                 "    virsh # node-memory-tune")},
     {NULL, NULL}
--
1.7.11.7




More information about the libvir-list mailing list