Handle -- properly

This commit is contained in:
Jack L. Frost 2015-01-31 18:54:41 +03:00
parent 7d778ecd66
commit 8e575157f7
1 changed files with 1 additions and 1 deletions

2
zpac
View File

@ -117,7 +117,7 @@ args_norm() {
unset -v arg opt c keys unset -v arg opt c keys
case "$1" in case "$1" in
--) shift; break;; --) printf '%s\n' '--'; break;;
--*) --*)
IFS='=' read arg opt <<< "$1" IFS='=' read arg opt <<< "$1"