Updated Directive (markdown)

koalaman
2016-04-29 11:43:13 -07:00
parent e114456948
commit cb9b24736f

@@ -10,12 +10,12 @@ Supported directives are `disable` to disable warnings:
# shellcheck disable=code[,code...]
statement_where_warning_should_be_disabled
`source` to tell ShellCheck where to find a sourced file:
`source` to tell ShellCheck where to find a sourced file (since 0.4.0):
# shellcheck source=src/examples/config.sh
. "$(locate_config)"
`shell`, as a top level directive, to specify the shell for a script (like the shebang, if you for any reason don't want to add one):
`shell`, as a top level directive, to specify the shell for a script (similar to the shebang, if you for any reason don't want to add one) (since 0.4.4):
# shellcheck shell=sh
echo foo &> bar