aboutsummaryrefslogtreecommitdiff
path: root/toys/help.c
diff options
context:
space:
mode:
Diffstat (limited to 'toys/help.c')
-rw-r--r--toys/help.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/help.c b/toys/help.c
index 6af743fc..4687d0ec 100644
--- a/toys/help.c
+++ b/toys/help.c
@@ -28,6 +28,6 @@ int help_main(void)
s = help_data;
}
- printf("%s", s);
+ fprintf(toys.exithelp ? stderr : stdout, "%s", s);
return 0;
}