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 /lib/toyflags.h | |
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 'lib/toyflags.h')
-rw-r--r-- | lib/toyflags.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/toyflags.h b/lib/toyflags.h index 963295cc..e809901d 100644 --- a/lib/toyflags.h +++ b/lib/toyflags.h @@ -25,3 +25,6 @@ // Call setlocale to listen to environment variables. // This invalidates sprintf("%.*s", size, string) as a valid length constraint. #define TOYFLAG_LOCALE (1<<8) + +// Suppress default --help processing +#define TOYFLAG_NOHELP (1<<9) |