mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 01:56:39 +00:00
Add --force argument
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user