diff --git a/tools/cleanup-images b/tools/cleanup-images index 5d2c30f2ae..1a89673173 100755 --- a/tools/cleanup-images +++ b/tools/cleanup-images @@ -68,8 +68,9 @@ case "$1" in ;; (--) - shift - break + echo -e "Error: no argument passed\n" + usage + exit 0 ;; esac