Browse Source

Remove "--force" feature-dud

Seems like it was never realized (saturnin-ln would always remove the
target first)
Alois Mahdal 9 years ago
parent
commit
3c77f4d31c
1 changed files with 1 additions and 3 deletions
  1. 1
    3
      src/libexec/saturnin-ln

+ 1
- 3
src/libexec/saturnin-ln View File

6
 
6
 
7
 DEFAULT_TARGET=$HOME
7
 DEFAULT_TARGET=$HOME
8
 TRY_RELPATH=true
8
 TRY_RELPATH=true
9
-FORCE=false
10
 
9
 
11
 PY_SCRIPT="
10
 PY_SCRIPT="
12
 import os.path
11
 import os.path
21
 "
20
 "
22
 
21
 
23
 usage() {
22
 usage() {
24
-    usage_is "[-f|--force] [-t|--target TARGET] [SOURCE] [NAME]"
23
+    usage_is "[-t|--target TARGET] [SOURCE] [NAME]"
25
 }
24
 }
26
 
25
 
27
 expand_tilde() {
26
 expand_tilde() {
66
 }
65
 }
67
 
66
 
68
 while true; do case $1 in
67
 while true; do case $1 in
69
-    -f|--force)         FORCE=true;         shift   ;;
70
     -t|--target)        target=$2           shift 2 ;;
68
     -t|--target)        target=$2           shift 2 ;;
71
     --help)             usage                       ;;
69
     --help)             usage                       ;;
72
     -*)                 usage                       ;;
70
     -*)                 usage                       ;;