Browse Source

Make saturnin-ln more "helpful" on bad syntax

Alois Mahdal 9 years ago
parent
commit
b93cac83d7
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      src/libexec/saturnin-ln

+ 2
- 0
src/libexec/saturnin-ln View File

@@ -45,6 +45,8 @@ load() {
45 45
 while true; do case $1 in
46 46
     -f|--force)         FORCE=true;         shift   ;;
47 47
     -t|--target)        target=$2           shift 2 ;;
48
+    --help)             usage                       ;;
49
+    -*)                 usage                       ;;
48 50
     "")                 usage                       ;;
49 51
     *)                  src=$1; name=$2;    break   ;;
50 52
 esac done