diff options
author | Rob Landley <rob@landley.net> | 2016-10-01 15:52:00 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2016-10-01 15:52:00 -0500 |
commit | 29e75d51d447c5c0aae9834f5988b79a945c7acc (patch) | |
tree | 4756abead6d275c824c63df0027ede9008ada3bb /Config.in | |
parent | 3366af7aa8212dfa9838fdfd17bae7909eb3797d (diff) | |
download | toybox-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.in | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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" |