Browse Source

Catch invalid argument for usage error

Alois Mahdal 6 years ago
parent
commit
b4473f06f4
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      src/libexec/dottum-install

+ 1
- 0
src/libexec/dottum-install View File

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