Document shell directive added by 944313c6

This commit is contained in:
Dan Kegel 2017-04-18 07:59:01 -07:00 committed by koalaman
parent 3cf8b9ceab
commit 9c4f651e6b
1 changed files with 5 additions and 0 deletions

View File

@ -157,6 +157,11 @@ Valid keys are:
used to tell shellcheck where to look for a file whose name is determined used to tell shellcheck where to look for a file whose name is determined
at runtime, or to skip a source by telling it to use `/dev/null`. at runtime, or to skip a source by telling it to use `/dev/null`.
**shell**
: Overrides the shell detected from the shebang. This is useful for
files meant to be included (and thus lacking a shebang), or possibly
as a more targeted alternative to 'disable=2039'.
# ENVIRONMENT VARIABLES # ENVIRONMENT VARIABLES
The environment variable `SHELLCHECK_OPTS` can be set with default flags: The environment variable `SHELLCHECK_OPTS` can be set with default flags: