소스 검색

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