Browse Source

Catch invalid argument for usage error

Alois Mahdal 5 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,6 +38,7 @@ main() {
38 38
         -n) Action=explore;     shift ;;
39 39
         -B) ClobberBroken=false; shift ;;
40 40
         -f) ClobberLinks=true;  shift ;;
41
+        -*) usage -w "unknown argument: $1" ;;
41 42
         *)                      break ;;
42 43
     esac done
43 44
     dottum__route "$@"