diff options
author | Kang-Che Sung <explorer09@gmail.com> | 2017-01-04 12:29:04 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-04 12:29:04 +0100 |
commit | 9529115c4ce87d4faecd1c55e547162efe74d629 (patch) | |
tree | 7fdbe0d63fad09aeaf464669eff0a149d4000f1b | |
parent | c6137ba51066d78a255f440ed0afc36639ea604a (diff) | |
download | busybox-w32-9529115c4ce87d4faecd1c55e547162efe74d629.tar.gz busybox-w32-9529115c4ce87d4faecd1c55e547162efe74d629.tar.bz2 busybox-w32-9529115c4ce87d4faecd1c55e547162efe74d629.zip |
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>
-rw-r--r-- | shell/Config.src | 23 |
1 files changed, 22 insertions, 1 deletions
diff --git a/shell/Config.src b/shell/Config.src index 7f5f67050..9bd493fed 100644 --- a/shell/Config.src +++ b/shell/Config.src | |||
@@ -17,9 +17,19 @@ choice | |||
17 | config SH_IS_ASH | 17 | config SH_IS_ASH |
18 | depends on !NOMMU | 18 | depends on !NOMMU |
19 | bool "ash" | 19 | bool "ash" |
20 | help | ||
21 | Choose ash to be the shell executed by 'sh' name. | ||
22 | The ash code will be built into busybox. If you don't select | ||
23 | "ash" choice (CONFIG_ASH), this shell may only be invoked by | ||
24 | the name 'sh' (and not 'ash'). | ||
20 | 25 | ||
21 | config SH_IS_HUSH | 26 | config SH_IS_HUSH |
22 | bool "hush" | 27 | bool "hush" |
28 | help | ||
29 | Choose hush to be the shell executed by 'sh' name. | ||
30 | The hush code will be built into busybox. If you don't select | ||
31 | "hush" choice (CONFIG_HUSH), this shell may only be invoked by | ||
32 | the name 'sh' (and not 'hush'). | ||
23 | 33 | ||
24 | config SH_IS_NONE | 34 | config SH_IS_NONE |
25 | bool "none" | 35 | bool "none" |
@@ -31,7 +41,8 @@ choice | |||
31 | default BASH_IS_NONE | 41 | default BASH_IS_NONE |
32 | help | 42 | help |
33 | Choose which shell you want to be executed by 'bash' alias. | 43 | Choose which shell you want to be executed by 'bash' alias. |
34 | The ash shell is the most bash compatible and full featured one. | 44 | The ash shell is the most bash compatible and full featured one, |
45 | although compatibility is far from being complete. | ||
35 | 46 | ||
36 | Note that selecting this option does not switch on any bash | 47 | Note that selecting this option does not switch on any bash |
37 | compatibility code. It merely makes it possible to install | 48 | compatibility code. It merely makes it possible to install |
@@ -46,9 +57,19 @@ choice | |||
46 | config BASH_IS_ASH | 57 | config BASH_IS_ASH |
47 | depends on !NOMMU | 58 | depends on !NOMMU |
48 | bool "ash" | 59 | bool "ash" |
60 | help | ||
61 | Choose ash to be the shell executed by 'bash' name. | ||
62 | The ash code will be built into busybox. If you don't select | ||
63 | "ash" choice (CONFIG_ASH), this shell may only be invoked by | ||
64 | the name 'bash' (and not 'ash'). | ||
49 | 65 | ||
50 | config BASH_IS_HUSH | 66 | config BASH_IS_HUSH |
51 | bool "hush" | 67 | bool "hush" |
68 | help | ||
69 | Choose hush to be the shell executed by 'bash' name. | ||
70 | The hush code will be built into busybox. If you don't select | ||
71 | "hush" choice (CONFIG_HUSH), this shell may only be invoked by | ||
72 | the name 'bash' (and not 'hush'). | ||
52 | 73 | ||
53 | config BASH_IS_NONE | 74 | config BASH_IS_NONE |
54 | bool "none" | 75 | bool "none" |