浏览代码

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