Updated SC2230 (markdown)

Vidar Holen
2019-12-07 16:23:18 -08:00
parent c085e1bbe6
commit 04345336af

@@ -1,5 +1,7 @@
## which is non-standard. Use builtin 'command -v' instead.
Note: This check is opt-in only in ShellCheck 0.7.1+ (`shellcheck -o deprecate-which`).
### Problematic code:
```sh
@@ -18,7 +20,7 @@ command -v grep
### Exceptions:
None
This check is opt-in only in 0.7.1+, and you may choose to [[ignore it]] in earlier versions. `which` is very common, and some prefer its executable-or-nothing behavior over `command -v`'s handling of builtins, functions and aliases.
### Caveats: