aboutsummaryrefslogtreecommitdiff
path: root/lib/toyflags.h
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 /lib/toyflags.h
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 'lib/toyflags.h')
-rw-r--r--lib/toyflags.h3
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)