Recognize 'busybox' in --shell and directives. Add to doc texts.

This commit is contained in:
Vidar Holen
2023-12-10 17:05:29 -08:00
parent fdcce458c1
commit 74282b0a93
4 changed files with 6 additions and 2 deletions

View File

@@ -85,7 +85,8 @@ not warn at all, as `ksh` supports decimals in arithmetic contexts.
**-s**\ *shell*,\ **--shell=***shell*
: Specify Bourne shell dialect. Valid values are *sh*, *bash*, *dash* and *ksh*.
: Specify Bourne shell dialect. Valid values are *sh*, *bash*, *dash*, *ksh*,
and *busybox*.
The default is to deduce the shell from the file's `shell` directive,
shebang, or `.bash/.bats/.dash/.ksh` extension, in that order. *sh* refers to
POSIX `sh` (not the system's), and will warn of portability issues.