diff Config.in @ 144:1fbc50374a30

Promote help to global config option, teach error_exit() to output usage message when called from get_optflags().
author Rob Landley <rob@landley.net>
date Thu, 11 Oct 2007 15:36:36 -0500
parents 7c77c6ec17ee
children d4176f3f3835
line wrap: on
line diff
--- a/Config.in	Thu Oct 04 02:04:10 2007 -0500
+++ b/Config.in	Thu Oct 11 15:36:36 2007 -0500
@@ -2,6 +2,22 @@
 
 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