From b68c7c59493fd1733f7549004780fd9039a847e6 Mon Sep 17 00:00:00 2001 From: fbt Date: Sun, 1 Feb 2015 17:27:39 +0300 Subject: [PATCH] A slight fix for the argument handler, doesn't really affect zpac in its current state. --- zpac | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/zpac b/zpac index d8394e1..e888d95 100755 --- a/zpac +++ b/zpac @@ -139,13 +139,9 @@ args_norm() { printf '%s\n' "${keys[@]}" ;; + + *) printf '%s\n' "$1";; esac - - [[ "$2" && ! "$2" =~ ^- ]] && { - printf '%s\n' "$2" - shift - } - shift done }