Browse Source

Print usage on unknown argument

Alois Mahdal 10 years ago
parent
commit
2f331848e6
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      bin/saturnin-push

+ 1
- 0
bin/saturnin-push View File

@@ -11,6 +11,7 @@ while true; do case $1 in
11 11
     -o|--order)     ORDER=$2;           shift 2;    ;;
12 12
     -h|--help)      usage;                          ;;
13 13
     "")             break                           ;;
14
+    -*)             usage;                          ;;
14 15
     *)              hosts="$1"; shift;              ;;
15 16
 esac done
16 17