]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
vshCmddefHelp: Drop empty line at the end
authorPeter Krempa <pkrempa@redhat.com>
Wed, 13 Mar 2024 14:54:47 +0000 (15:54 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 2 Apr 2024 12:24:29 +0000 (14:24 +0200)
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 <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
tools/vsh.c

index f96071060aea8a9c1941e93610a3ef22436df4fd..e6ea3a398aeff090dd8f9b3373319e3205531e90 100644 (file)
@@ -725,7 +725,6 @@ vshCmddefHelp(const vshCmdDef *def)
             fprintf(stdout, "    %-15s  %s\n", optstr, _(opt->help));
         }
     }
-    fputc('\n', stdout);
 
     return true;
 }