mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-21 13:53:58 -07:00
Recognize 'busybox' in --shell and directives. Add to doc texts.
This commit is contained in:
parent
fdcce458c1
commit
74282b0a93
4 changed files with 6 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue