ソースを参照

Be more helpful in case of wrong usage

Alois Mahdal 9 年 前
コミット
ba915eb6e2
共有1 個のファイルを変更した1 個の追加0 個の削除を含む
  1. 1
    0
      dotfiles/gittum/bin/sibling

+ 1
- 0
dotfiles/gittum/bin/sibling ファイルの表示

@@ -66,6 +66,7 @@ while true; do case $1 in
66 66
     -r|--remote-name)   remote_name=$2; shift 2 ;;
67 67
     -s|--sibling)       sibling=$2;     shift 2 ;;
68 68
     -v|--verbose)       verbose=true;   shift   ;;
69
+    -*)                                 usage   ;;
69 70
     "")                                 break   ;;
70 71
     *)                  project=$1;     shift   ;;
71 72
 esac done