case $options in
foobar) echo foo ;; echo bar;;
*) echo unknown option ;;
esaccase $options in
foobar) echo foo ; echo bar;;
*) echo unknown option ;;
esacThere should be no statements between ;; and the next
case item.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.