Browse Source

Be more helpful in case of wrong usage

Alois Mahdal 9 years ago
parent
commit
ba915eb6e2
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      dotfiles/gittum/bin/sibling

+ 1
- 0
dotfiles/gittum/bin/sibling View File

@@ -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