diff options
author | Rob Landley <rob@landley.net> | 2007-10-11 15:36:36 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2007-10-11 15:36:36 -0500 |
commit | d06c58df5c723594c4f214dd5d1842a178d2a5e1 (patch) | |
tree | 82d61cb9ff7de99de7702e6f8d7cf5d4ecca7bed /Config.in | |
parent | 103b7e031c4de0f9753e02d2217aa81819242278 (diff) | |
download | toybox-d06c58df5c723594c4f214dd5d1842a178d2a5e1.tar.gz |
Promote help to global config option, teach error_exit() to output usage message when called
from get_optflags().
Diffstat (limited to 'Config.in')
-rw-r--r-- | Config.in | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -2,6 +2,22 @@ mainmenu "ToyBox Configuration" menu "Global settings" +config HELP + bool "help" + default y + help + usage: help [command] + + Show usage information for toybox commands. + +config HELP_LONG + bool "Verbose help text" + default y + depends on HELP + help + Show more than one line of help information per command. + + config TOYBOX_FREE bool "Free memory unnecessarily" default n |