aboutsummaryrefslogtreecommitdiff
path: root/shell/Config.in
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-05-21 23:30:54 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-05-21 23:30:54 +0000
commit06810339189c1372d3defb8e3dcdb58a07ade7a7 (patch)
tree7d8ab749ab33dfbdcd8115013b75e0852e926293 /shell/Config.in
parent8805eeb44a291b830e9eb1a430d112913ffa9a24 (diff)
downloadbusybox-06810339189c1372d3defb8e3dcdb58a07ade7a7.tar.gz
hush: add 3 CONFIG_xxx, allowing for smaller and less capable hush.
Minimal hush is ~9k now (lash is ~7k).
Diffstat (limited to 'shell/Config.in')
-rw-r--r--shell/Config.in18
1 files changed, 18 insertions, 0 deletions
diff --git a/shell/Config.in b/shell/Config.in
index 99e395dfb..90479013e 100644
--- a/shell/Config.in
+++ b/shell/Config.in
@@ -176,6 +176,12 @@ config HUSH
word ), arithmetic expansion, aliases, brace expansion, tilde
expansion, &> and >& redirection of stdout+stderr, etc.
+config HUSH_HELP
+ bool "help builtin"
+ default n
+ help
+ Enable help builtin in hush. Code size + ~1 kbyte.
+
config HUSH_INTERACTIVE
bool "Interactive mode"
default y
@@ -203,6 +209,18 @@ config HUSH_TICK
help
Enable process substitution `command` and $(command) in hush.
+config HUSH_IF
+ bool "Support if/then/elif/else/fi"
+ default n
+ help
+ Enable if/then/elif/else/fi in hush.
+
+config HUSH_LOOPS
+ bool "Support for, while and until loops"
+ default n
+ help
+ Enable for, while and until loops in hush.
+
config LASH
bool "lash"
default n