From d06c58df5c723594c4f214dd5d1842a178d2a5e1 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 11 Oct 2007 15:36:36 -0500 Subject: Promote help to global config option, teach error_exit() to output usage message when called from get_optflags(). --- Config.in | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'Config.in') diff --git a/Config.in b/Config.in index 4218bcb2..62c2ec0a 100644 --- a/Config.in +++ b/Config.in @@ -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 -- cgit v1.2.3