diff --git a/bin/dotify b/bin/dotify index 8ce547e..0186228 100755 --- a/bin/dotify +++ b/bin/dotify @@ -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 diff --git a/src/bin/dotify b/src/bin/dotify index 914d2cc..6564998 100755 --- a/src/bin/dotify +++ b/src/bin/dotify @@ -83,15 +83,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 @@ -102,10 +101,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