summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorKang-Che Sung2017-01-04 12:29:04 +0100
committerDenys Vlasenko2017-01-04 12:29:04 +0100
commit9529115c4ce87d4faecd1c55e547162efe74d629 (patch)
tree7fdbe0d63fad09aeaf464669eff0a149d4000f1b /shell
parentc6137ba51066d78a255f440ed0afc36639ea604a (diff)
downloadbusybox-9529115c4ce87d4faecd1c55e547162efe74d629.zip
busybox-9529115c4ce87d4faecd1c55e547162efe74d629.tar.gz
shell: clarify help text of CONFIG_{SH,BASH}_IS_* options
Mention the behavior if user selects CONFIG_SH_IS_ASH but not CONFIG_ASH. We will be explicit that invocations like "busybox ash" will not work for such configuration. Also clarify help text of CONFIG_BASH_IS_* that bash compatibility in ash is not complete. (It shouldn't be anyway - ash can't support every bash quirk out there.) Signed-off-by: Kang-Che Sung <explorer09@gmail.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/Config.src23
1 files changed, 22 insertions, 1 deletions
diff --git a/shell/Config.src b/shell/Config.src
index 7f5f670..9bd493f 100644
--- a/shell/Config.src
+++ b/shell/Config.src
@@ -17,9 +17,19 @@ choice
config SH_IS_ASH
depends on !NOMMU
bool "ash"
+ help
+ Choose ash to be the shell executed by 'sh' name.
+ The ash code will be built into busybox. If you don't select
+ "ash" choice (CONFIG_ASH), this shell may only be invoked by
+ the name 'sh' (and not 'ash').
config SH_IS_HUSH
bool "hush"
+ help
+ Choose hush to be the shell executed by 'sh' name.
+ The hush code will be built into busybox. If you don't select
+ "hush" choice (CONFIG_HUSH), this shell may only be invoked by
+ the name 'sh' (and not 'hush').
config SH_IS_NONE
bool "none"
@@ -31,7 +41,8 @@ choice
default BASH_IS_NONE
help
Choose which shell you want to be executed by 'bash' alias.
- The ash shell is the most bash compatible and full featured one.
+ The ash shell is the most bash compatible and full featured one,
+ although compatibility is far from being complete.
Note that selecting this option does not switch on any bash
compatibility code. It merely makes it possible to install
@@ -46,9 +57,19 @@ choice
config BASH_IS_ASH
depends on !NOMMU
bool "ash"
+ help
+ Choose ash to be the shell executed by 'bash' name.
+ The ash code will be built into busybox. If you don't select
+ "ash" choice (CONFIG_ASH), this shell may only be invoked by
+ the name 'bash' (and not 'ash').
config BASH_IS_HUSH
bool "hush"
+ help
+ Choose hush to be the shell executed by 'bash' name.
+ The hush code will be built into busybox. If you don't select
+ "hush" choice (CONFIG_HUSH), this shell may only be invoked by
+ the name 'bash' (and not 'hush').
config BASH_IS_NONE
bool "none"