aboutsummaryrefslogtreecommitdiff
path: root/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2016-10-01 15:52:00 -0500
committerRob Landley <rob@landley.net>2016-10-01 15:52:00 -0500
commit29e75d51d447c5c0aae9834f5988b79a945c7acc (patch)
tree4756abead6d275c824c63df0027ede9008ada3bb /Config.in
parent3366af7aa8212dfa9838fdfd17bae7909eb3797d (diff)
downloadtoybox-29e75d51d447c5c0aae9834f5988b79a945c7acc.tar.gz
Move --version handling next to --help handling, so it applies to all commands.
Say "toybox" before version string. Tweak sed to preserve lie-to-autoconf.
Diffstat (limited to 'Config.in')
-rw-r--r--Config.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/Config.in b/Config.in
index 76b2ef1d..07c6d70c 100644
--- a/Config.in
+++ b/Config.in
@@ -82,12 +82,13 @@ config TOYBOX_HELP
Include help text for each command.
config TOYBOX_HELP_DASHDASH
- bool "--help"
+ bool "--help and --version"
default y
depends on TOYBOX_HELP
help
Support --help argument in all commands, even ones with a NULL
- optstring. Produces the same output as "help command".
+ optstring. (Use TOYFLAG_NOHELP to disable.) Produces the same output
+ as "help command". --version shows toybox version.
config TOYBOX_I18N
bool "Internationalization support"