Skip to content

Commit

Permalink
Remove redundant pattern in _readlink().
Browse files Browse the repository at this point in the history
`--*` is not necessary since it's a subset of what `-*` matches.
xwmx committed Apr 13, 2018
1 parent 77f44a1 commit 092057c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers.bash
Original file line number Diff line number Diff line change
@@ -119,7 +119,7 @@ _readlink() {
-e|-f)
_option="${__arg}"
;;
-*|--*)
-*)
# do nothing
# ':' is bash no-op
:

0 comments on commit 092057c

Please sign in to comment.