aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--toys/other/help.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/toys/other/help.c b/toys/other/help.c
index 4722528c..f7d84817 100644
--- a/toys/other/help.c
+++ b/toys/other/help.c
@@ -68,6 +68,11 @@ void help_main(void)
for (i = 0; i < toys.toycount; i++) {
if (toys.optflags & FLAG_h) xprintf("<hr>\n<pre>\n");
+ else {
+ memset(toybuf, '-', 78);
+ memcpy(toybuf+3, toy_list[i].name, strlen(toy_list[i].name));
+ printf("%s\n\n", toybuf);
+ }
do_help(toy_list+i);
if (toys.optflags & FLAG_h) xprintf("</pre>\n");
}