aboutsummaryrefslogtreecommitdiff
path: root/toys/other
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2019-04-12 18:14:20 -0500
committerRob Landley <rob@landley.net>2019-04-12 18:14:20 -0500
commit63a0e7afff271ac1b1df3309bbf35f52e4771419 (patch)
tree32aed898cf12920fa80654c8f74aa9444a62c862 /toys/other
parente478b177ab79aab7b5dfa52e5a0853e144a62327 (diff)
downloadtoybox-63a0e7afff271ac1b1df3309bbf35f52e4771419.tar.gz
Make help text spacing consistent.
Diffstat (limited to 'toys/other')
-rw-r--r--toys/other/help.c4
1 files changed, 2 insertions, 2 deletions
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("<html>\n<title>Toybox command list</title>\n<body>\n<p>\n");
for (i=0; i < toys.toycount; i++)
- xprintf("<a href=\"#%s\">%s</a>\n", toy_list[i].name,
+ xprintf("<a href=\"#%s\">%s\n</a>\n", toy_list[i].name,
toy_list[i].name);
xprintf("</p>\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("</pre>\n");