||
|
if [ "$1" = "--verbose" ] | [ "$1" = "-v" ] then verbose=1 fi
if [ "$1" = "--verbose" ] || [ "$1" = "-v" ] then verbose=1 fi
ShellCheck found a test command followed by a |. This was undoubtedly intended as a logical OR (||).
test
None
There was an error while loading. Please reload this page.