diff --git a/homelab/fighter/scripts/docker-stacks.sh b/homelab/fighter/scripts/docker-stacks.sh index 6948997b..4c0163b3 100644 --- a/homelab/fighter/scripts/docker-stacks.sh +++ b/homelab/fighter/scripts/docker-stacks.sh @@ -63,6 +63,7 @@ function main { while [[ $# -gt 0 ]]; do case $1 in -f|--force-recreate) FORCE_RECREATE=true; shift;; + *) echo "Unrecognized option '$1'"; exit 1;; esac done ;; @@ -70,6 +71,7 @@ function main { while [[ $# -gt 0 ]]; do case $1 in -o|--remove-orphans) REMOVE_ORPHANS=true; shift;; + *) echo "Unrecognized option '$1'"; exit 1;; esac done ;;