commit fdf6a2d
hovercats
·
2022-03-02 09:46:21 +0000 UTC
parent f264395
groups.sh: add asterix flag, to catch all invalid options
1 files changed,
+2,
-0
+2,
-0
1@@ -222,5 +222,7 @@ while getopts "hc:Cs:t:m:M:u:U" opt; do
2 done
3 break
4 ;;
5+ *)
6+ echo "Unrecognized option. use h flag to show usage"
7 esac
8 done