]> git.tuebingen.mpg.de Git - dss.git/commitdiff
show_subcommand_summary(): Increase column width.
authorAndre Noll <maan@tuebingen.mpg.de>
Sat, 4 Nov 2017 12:13:48 +0000 (13:13 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Sat, 4 Nov 2017 12:13:48 +0000 (13:13 +0100)
Since the new configtest command is 10 characters long, there was no
whitespace between the command name and the short description.

dss.c

diff --git a/dss.c b/dss.c
index e0b38a4d8bc2ed9f692878420424d8b680447c7c..f80fd39b7b508b7aa37b8a92ed469d2c56ac3f66 100644 (file)
--- a/dss.c
+++ b/dss.c
@@ -1744,7 +1744,7 @@ static void show_subcommand_summary(void)
        for (i = 1; (cmd = lls_cmd(i, dss_suite)); i++) {
                const char *name = lls_command_name(cmd);
                const char *purpose = lls_purpose(cmd);
        for (i = 1; (cmd = lls_cmd(i, dss_suite)); i++) {
                const char *name = lls_command_name(cmd);
                const char *purpose = lls_purpose(cmd);
-               printf("%-10s%s\n", name, purpose);
+               printf("%-11s%s\n", name, purpose);
        }
        exit(EXIT_SUCCESS);
 }
        }
        exit(EXIT_SUCCESS);
 }