diff --git a/zpac b/zpac index b2eaba8..e4c1688 100755 --- a/zpac +++ b/zpac @@ -13,7 +13,7 @@ echo() { printf '%s\n' "$*"; } err() { echo "$*" >&2; } usage() { - while read; do echo "$REPLY"; done <<- EOF + while read; do usage_block+=( "$REPLY" ); done <<- EOF Usage: $_self [flags] Flags: -h Show this message. @@ -24,6 +24,8 @@ usage() { -f Force downloading package sources even if they are already present in the working directory. -w Set the working directory. EOF + + printf '%s\n' "${usage_block[@]}" } aur.search() {