Add --force argument

This commit is contained in:
2013-10-03 23:11:21 +01:00
parent 43dba65eb9
commit 1bfcaf8b8c

View File

@@ -68,6 +68,7 @@ source "../plugins/git.sh"
DOTFILE="" # --dotfile / -f
TARGET="" # --target / -t
HELP="" # --help / -h
FORCE="" # --force / -F
VERSION="" # --version / -v
if has-argument dotfile f "$@"; then
@@ -82,6 +83,10 @@ if has-argument help h "$@"; then
HELP="1"
fi
if has-argument force F "$@"; then
FORCE="1"
fi
if has-argument version v "$@"; then
VERSION="1"
fi