Skip to content

Commit

Permalink
#34: greedy arg resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Flamm committed Oct 26, 2017
1 parent 2935d92 commit 2a430b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion afpre
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ variable_true() {
}

options_contain() {
grep -q -- "${1}" <<< $ARGS
grep -q -- "${1}" <<< ${ARGS%-- *}
}

do_version() {
Expand Down

0 comments on commit 2a430b3

Please sign in to comment.