소스 검색

Catch invalid argument for usage error

Alois Mahdal 7 년 전
부모
커밋
b4473f06f4
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1
    0
      src/libexec/dottum-install

+ 1
- 0
src/libexec/dottum-install 파일 보기

38
         -n) Action=explore;     shift ;;
38
         -n) Action=explore;     shift ;;
39
         -B) ClobberBroken=false; shift ;;
39
         -B) ClobberBroken=false; shift ;;
40
         -f) ClobberLinks=true;  shift ;;
40
         -f) ClobberLinks=true;  shift ;;
41
+        -*) usage -w "unknown argument: $1" ;;
41
         *)                      break ;;
42
         *)                      break ;;
42
     esac done
43
     esac done
43
     dottum__route "$@"
44
     dottum__route "$@"