From 63a0e7afff271ac1b1df3309bbf35f52e4771419 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 12 Apr 2019 18:14:20 -0500 Subject: Make help text spacing consistent. --- toys/other/help.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toys') diff --git a/toys/other/help.c b/toys/other/help.c index f7d84817..6ce1b02e 100644 --- a/toys/other/help.c +++ b/toys/other/help.c @@ -61,7 +61,7 @@ void help_main(void) if (toys.optflags & FLAG_h) { xprintf("\nToybox command list\n\n

\n"); for (i=0; i < toys.toycount; i++) - xprintf("%s\n", toy_list[i].name, + xprintf("%s\n\n", toy_list[i].name, toy_list[i].name); xprintf("

\n"); } @@ -71,7 +71,7 @@ void help_main(void) else { memset(toybuf, '-', 78); memcpy(toybuf+3, toy_list[i].name, strlen(toy_list[i].name)); - printf("%s\n\n", toybuf); + printf("\n%s\n\n", toybuf); } do_help(toy_list+i); if (toys.optflags & FLAG_h) xprintf("\n"); -- cgit v1.2.3