From 1bfcaf8b8c1575b6ddcbd0af2c72d5d01c2d5b67 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Thu, 3 Oct 2013 23:11:21 +0100 Subject: [PATCH] Add --force argument --- src/bin/dotify | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/bin/dotify b/src/bin/dotify index 9a5104d..a120489 100755 --- a/src/bin/dotify +++ b/src/bin/dotify @@ -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