aboutsummaryrefslogtreecommitdiff
path: root/toys/posix/false.c
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-08-13 17:50:54 -0500
committerRob Landley <rob@landley.net>2016-08-13 17:50:54 -0500
commite98089ab9a4b52664e8baf1168af0ad0b32398ba (patch)
tree927101b65a18c955a6d41fcad707954c04496836 /toys/posix/false.c
parentbc1ccaccb5b7ec71775a5eb7e529bb93811956ce (diff)
downloadtoybox-e98089ab9a4b52664e8baf1168af0ad0b32398ba.tar.gz
Add TOYFLAG_NOHELP to disable --help processing for individual commands,
apply it to "true" and "false".
Diffstat (limited to 'toys/posix/false.c')
-rw-r--r--toys/posix/false.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/toys/posix/false.c b/toys/posix/false.c
index 73458bea..0853b010 100644
--- a/toys/posix/false.c
+++ b/toys/posix/false.c
@@ -4,7 +4,7 @@
*
* See http://opengroup.org/onlinepubs/9699919799/utilities/false.html
-USE_FALSE(NEWTOY(false, NULL, TOYFLAG_BIN))
+USE_FALSE(NEWTOY(false, NULL, TOYFLAG_BIN|TOYFLAG_NOHELP))
config FALSE
bool "false"