Explorar el Código

Remove "--force" feature-dud

Seems like it was never realized (saturnin-ln would always remove the
target first)
Alois Mahdal hace 9 años
padre
commit
3c77f4d31c
Se han modificado 1 ficheros con 1 adiciones y 3 borrados
  1. 1
    3
      src/libexec/saturnin-ln

+ 1
- 3
src/libexec/saturnin-ln Ver fichero

@@ -6,7 +6,6 @@ ffoo import pretty
6 6
 
7 7
 DEFAULT_TARGET=$HOME
8 8
 TRY_RELPATH=true
9
-FORCE=false
10 9
 
11 10
 PY_SCRIPT="
12 11
 import os.path
@@ -21,7 +20,7 @@ else:
21 20
 "
22 21
 
23 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 26
 expand_tilde() {
@@ -66,7 +65,6 @@ load() {
66 65
 }
67 66
 
68 67
 while true; do case $1 in
69
-    -f|--force)         FORCE=true;         shift   ;;
70 68
     -t|--target)        target=$2           shift 2 ;;
71 69
     --help)             usage                       ;;
72 70
     -*)                 usage                       ;;