Updated Directive (markdown)

Vidar Holen
2018-07-28 12:01:04 -07:00
parent 8cd45152a7
commit 49a7d9a4bd

@@ -25,7 +25,7 @@ Specify the shell for a script (similar to the shebang, if you for any reason do
# shellcheck shell=sh
echo foo &> bar
Directives that replace or are immediately after the shebang apply to the entire script. Otherwise, they are scoped to the command that follows it (including compound commands like function definitions, loops and case statements). A directive may only be applied to a complete command, and can not be used immediately preceding an `else` block or `case` branch:
Directives that replace or are immediately after the shebang apply to the entire script. Otherwise, they are scoped to the command that follows it (including compound commands like function definitions, loops and case statements). A directive may only be applied to a complete command, and can not be used immediately preceding an `else` block or individual `case` branch:
# Directive VALID here, applies to whole `case`