diff Config.in @ 233:d4176f3f3835

Zap toys/Config.in and instead create generated/Config.in from contents of toys/*.c. Move relevant info into comment at the top of each toys/*.c. Also convert more of Makefile into a thin wrapper around shell scripts that actually do the work. (Makefile is only still there for the user interface.)
author Rob Landley <rob@landley.net>
date Sat, 19 Jan 2008 17:08:39 -0600
parents 1fbc50374a30
children c7a26e26ad08
line wrap: on
line diff
--- a/Config.in	Thu Jan 10 14:40:13 2008 -0600
+++ b/Config.in	Sat Jan 19 17:08:39 2008 -0600
@@ -2,21 +2,14 @@
 
 menu "Global settings"
 
-config HELP
-	bool "help"
-	default y
+config TOYBOX
+	bool
+	default n
 	help
-	  usage: help [command]
-
-	  Show usage information for toybox commands.
+	  usage: toybox [command] [arguments...]
 
-config HELP_LONG
-	bool "Verbose help text"
-	default y
-	depends on HELP
-	help
-	  Show more than one line of help information per command.
-
+	  With no arguments, shows available commands.  First argument is
+	  name of a command to run, followed by any arguments to that command.
 
 config TOYBOX_FREE
 	bool "Free memory unnecessarily"
@@ -36,4 +29,6 @@
 
 endmenu
 
-source toys/Config.in
+menu "Toys"
+source generated/Config.in
+endmenu