diff options
author | Rob Landley <rob@landley.net> | 2016-08-13 17:50:54 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-08-13 17:50:54 -0500 |
commit | e98089ab9a4b52664e8baf1168af0ad0b32398ba (patch) | |
tree | 927101b65a18c955a6d41fcad707954c04496836 /toys/posix/true.c | |
parent | bc1ccaccb5b7ec71775a5eb7e529bb93811956ce (diff) | |
download | toybox-e98089ab9a4b52664e8baf1168af0ad0b32398ba.tar.gz |
Add TOYFLAG_NOHELP to disable --help processing for individual commands,
apply it to "true" and "false".
Diffstat (limited to 'toys/posix/true.c')
-rw-r--r-- | toys/posix/true.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/toys/posix/true.c b/toys/posix/true.c index 0fbb1786..2543b821 100644 --- a/toys/posix/true.c +++ b/toys/posix/true.c @@ -4,8 +4,8 @@ * * See http://opengroup.org/onlinepubs/9699919799/utilities/true.html -USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN)) -USE_TRUE(OLDTOY(:, true, TOYFLAG_NOFORK)) +USE_TRUE(NEWTOY(true, NULL, TOYFLAG_BIN|TOYFLAG_NOHELP)) +USE_TRUE(OLDTOY(:, true, TOYFLAG_NOFORK|TOYFLAG_NOHELP)) config TRUE bool "true" |