[PATCH 01/28] vshCmddefHelp: Drop empty line at the end

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 tools/vsh.c | 1 -
 1 file changed, 1 deletion(-)

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;
 }
-- 
2.44.0
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux