From e5354ca12a232b3f97726214254a868771cb70d1 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Fri, 11 Sep 2015 16:35:14 -0500 Subject: Replace toys.exithelp with help_exit() in lib. --- toys/other/help.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'toys/other/help.c') diff --git a/toys/other/help.c b/toys/other/help.c index 15f8271e..4722528c 100644 --- a/toys/other/help.c +++ b/toys/other/help.c @@ -37,12 +37,12 @@ static void do_help(struct toy_list *t) xprintf("

%s

\n", t->name, t->name);
 
   toys.which = t;
-  show_help();
+  show_help(stdout);
 
   if (toys.optflags & FLAG_h) xprintf("
\n"); } -// The simple help is just toys.which = toy_find("name"); show_help(); +// The simple help is just toys.which = toy_find("name"); show_help(stdout); // But iterating through html output and all commands is a big more void help_main(void) -- cgit v1.2.3