Browse Source

Add missing usage()

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

+ 4
- 0
bin/saturnin-push View File

7
 
7
 
8
 ORDER="$(saturnin-ini -p push.options.order)"
8
 ORDER="$(saturnin-ini -p push.options.order)"
9
 
9
 
10
+usage() {
11
+    usage_is "[-o|--order path:host|host:path] host..."
12
+}
13
+
10
 while true; do case $1 in
14
 while true; do case $1 in
11
     -o|--order)     ORDER=$2;           shift 2;    ;;
15
     -o|--order)     ORDER=$2;           shift 2;    ;;
12
     -h|--help)      usage;                          ;;
16
     -h|--help)      usage;                          ;;