[libvirt] [PATCH] node_memory: Add '\n' to help message
Osier Yang
jyang at redhat.com
Fri Jan 25 05:25:37 UTC 2013
On 2013年01月25日 03:40, Satoru Moriya wrote:
> 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
>
ACK. And pushed since there is no chance to cause problem for
the upcoming build.
More information about the libvir-list
mailing list