aboutsummaryrefslogtreecommitdiff
path: root/toys/Config.in
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-11-03 00:05:52 -0500
committerRob Landley <rob@landley.net>2006-11-03 00:05:52 -0500
commit0a04b3ef850cd3d6f06b3c8d0036993adc9ba7b2 (patch)
tree6833c64668f917b4f03c9c5317a4313937960ba4 /toys/Config.in
parent7fc43f79783658a38be23ca8b3cdac5f11e397d1 (diff)
downloadtoybox-0a04b3ef850cd3d6f06b3c8d0036993adc9ba7b2.tar.gz
Implement which. Add hello world to menuconfig. Wrap the various applet main
functions in main.c with USE() macros so --gc-sections can strip them.
Diffstat (limited to 'toys/Config.in')
-rw-r--r--toys/Config.in16
1 files changed, 16 insertions, 0 deletions
diff --git a/toys/Config.in b/toys/Config.in
index d9b1da10..89481bde 100644
--- a/toys/Config.in
+++ b/toys/Config.in
@@ -28,6 +28,12 @@ config DF_PEDANTIC
-k Sets units back to 1024 bytes (the default without -P)
+config HELLO
+ bool "hello"
+ default n
+ help
+ A hello world program. You don't need this.
+
config TOYSH
bool "sh (toysh)"
default n
@@ -146,5 +152,15 @@ config TOYSH_BUILTINS
Adds the commands exec, fg, bg, help, jobs, pwd, export, source, set,
unset, read, alias.
+config WHICH
+ bool "Which"
+ default n
+ help
+ usage: which [-a] filename ...
+
+ Search $PATH for executable files matching filename(s).
+
+ -a Show all matches
+
endmenu