Get rid of --force argument, don't need it yet (if ever)

This commit is contained in:
2013-10-21 02:56:53 +01:00
parent ebfdd1cc6a
commit 33cff6fae4
2 changed files with 6 additions and 16 deletions

View File

@@ -356,15 +356,14 @@ DOTIFY_OPT_DEFAULT_ACTION="link"
# Argument Parsing
#
DOTFILE="" # --dotfile / -F
DOTFILE="" # --dotfile / -f
TARGET="" # --target / -t
FORCE="" # --force / -f
DRY_RUN="" # --dry-run / -d
HELP="" # --help / -h
VERSION="" # --version / -v
if has-argument dotfile F "$@"; then
DOTFILE="$(parse-argument dotfile F "$@")"
if has-argument dotfile f "$@"; then
DOTFILE="$(parse-argument dotfile f "$@")"
fi
if has-argument target t "$@"; then
@@ -375,10 +374,6 @@ if has-argument dry-run d "$@"; then
DRY_RUN="1"
fi
if has-argument force f "$@"; then
FORCE="1"
fi
if has-argument help h "$@"; then
HELP="1"
fi