瀏覽代碼

Add missing usage()

Alois Mahdal 10 年之前
父節點
當前提交
320f6cd550
共有 1 個檔案被更改,包括 4 行新增0 行删除
  1. 4
    0
      bin/saturnin-push

+ 4
- 0
bin/saturnin-push 查看文件

@@ -7,6 +7,10 @@ ffoo import recon
7 7
 
8 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 14
 while true; do case $1 in
11 15
     -o|--order)     ORDER=$2;           shift 2;    ;;
12 16
     -h|--help)      usage;                          ;;