aboutsummaryrefslogtreecommitdiff
path: root/lib/lib.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2020-01-03 03:10:17 -0600
committerRob Landley <rob@landley.net>2020-01-03 03:10:17 -0600
commita2cd46a5f342553c05ae6ef4e7a73069df0e1be1 (patch)
tree55c7f84b31d94aa578616a04ec92480ced1553f3 /lib/lib.c
parent53090cd6c1343954d953625223b50e73abb6b9f3 (diff)
downloadtoybox-a2cd46a5f342553c05ae6ef4e7a73069df0e1be1.tar.gz
Add MAYFORK to "help", teach it to behave differently when called as a
builtin, and add -u.
Diffstat (limited to 'lib/lib.c')
-rw-r--r--lib/lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib.c b/lib/lib.c
index 2250caf4..26ba546f 100644
--- a/lib/lib.c
+++ b/lib/lib.c
@@ -72,7 +72,7 @@ void help_exit(char *msg, ...)
{
va_list va;
- if (!msg) show_help(stdout);
+ if (!msg) show_help(stdout, 1);
else {
va_start(va, msg);
verror_msg(msg, -1, va);