mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Update optionals list for 0.9.0
@@ -32,11 +32,10 @@ However, if you for debugging or evaluation purposes want to see what's availabl
|
|||||||
|
|
||||||
To see which checks are available in your version of ShellCheck, use the `--list-optional` flag.
|
To see which checks are available in your version of ShellCheck, use the `--list-optional` flag.
|
||||||
|
|
||||||
Optional checks as of version 0.8.0:
|
Optional checks as of version 0.9.0:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
$ shellcheck --list-optional
|
$ shellcheck --list-optional
|
||||||
|
|
||||||
name: add-default-case
|
name: add-default-case
|
||||||
desc: Suggest adding a default case in `case` statements
|
desc: Suggest adding a default case in `case` statements
|
||||||
example: case $? in 0) echo 'Success';; esac
|
example: case $? in 0) echo 'Success';; esac
|
||||||
|
Reference in New Issue
Block a user