diff options
author | Rob Landley <rob@landley.net> | 2020-01-03 03:10:17 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2020-01-03 03:10:17 -0600 |
commit | a2cd46a5f342553c05ae6ef4e7a73069df0e1be1 (patch) | |
tree | 55c7f84b31d94aa578616a04ec92480ced1553f3 /main.c | |
parent | 53090cd6c1343954d953625223b50e73abb6b9f3 (diff) | |
download | toybox-a2cd46a5f342553c05ae6ef4e7a73069df0e1be1.tar.gz |
Add MAYFORK to "help", teach it to behave differently when called as a
builtin, and add -u.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -89,7 +89,7 @@ static void toy_singleinit(struct toy_list *which, char *argv[]) if (!strcmp(argv[1], "--help")) { if (CFG_TOYBOX && toys.which == toy_list && toys.argv[2]) if (!(toys.which = toy_find(toys.argv[2]))) unknown(toys.argv[2]); - show_help(stdout); + show_help(stdout, 1); xexit(); } |