diff options
Diffstat (limited to 'src/librefetch')
-rwxr-xr-x | src/librefetch/librefetch | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librefetch/librefetch b/src/librefetch/librefetch index 819a51a..c723721 100755 --- a/src/librefetch/librefetch +++ b/src/librefetch/librefetch @@ -208,6 +208,7 @@ parse_options() { -P|--print) mode=print;; -p) BUILDFILE="$(readlink -m -- "$opt")";; -h|--help) mode=help;; + --) shift; break;; -*) if in_array "${arg}" "${makepkg_argall[@]}"; then makepkg_opts+=("$arg") @@ -217,7 +218,6 @@ parse_options() { return 1 fi ;; - --) shift; break;; *) extra_opts+=("$arg");; esac shift |