mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-21 13:53:58 -07:00
Issue 1393 quiet flag
Issue https://github.com/koalaman/shellcheck/issues/1393 Provide '-q' and '--quiet' flags that suppress all normal output, but keep the return status, similar to 'grep -q'.
This commit is contained in:
parent
ec6f9e4d49
commit
a89403f09b
4 changed files with 47 additions and 1 deletions
|
@ -137,6 +137,12 @@ not warn at all, as `ksh` supports decimals in arithmetic contexts.
|
|||
...
|
||||
]
|
||||
|
||||
*quiet*
|
||||
|
||||
: Suppress all normal output. Exit with zero if no issues are found,
|
||||
otherwise exit with one. Stops processing after the first issue.
|
||||
|
||||
|
||||
# DIRECTIVES
|
||||
ShellCheck directives can be specified as comments in the shell script
|
||||
before a command or block:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue