From: Peter Krempa Date: Wed, 13 Mar 2024 14:54:47 +0000 (+0100) Subject: vshCmddefHelp: Drop empty line at the end X-Git-Tag: v10.3.0-rc1~138 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=334510a6877c08b44889c76b5034635885089340;p=thirdparty%2Flibvirt.git vshCmddefHelp: Drop empty line at the end All virsh commands in non-quiet mode append another separator line thus having two is unnecessary and in quiet mode it still has a trailing blank line. Remove it. Signed-off-by: Peter Krempa Reviewed-by: Ján Tomko --- diff --git a/tools/vsh.c b/tools/vsh.c index f96071060a..e6ea3a398a 100644 --- a/tools/vsh.c +++ b/tools/vsh.c @@ -725,7 +725,6 @@ vshCmddefHelp(const vshCmdDef *def) fprintf(stdout, " %-15s %s\n", optstr, _(opt->help)); } } - fputc('\n', stdout); return true; }