readarray!
This commit is contained in:
parent
b2cb42c371
commit
d19dc0fbb1
4
zpac
4
zpac
|
@ -13,7 +13,7 @@ echo() { printf '%s\n' "$*"; }
|
|||
err() { echo "$*" >&2; }
|
||||
|
||||
usage() {
|
||||
while read; do usage_block+=( "$REPLY" ); done <<- EOF
|
||||
readarray usage_block <<- EOF
|
||||
Usage: $_self [flags] <package>
|
||||
Flags:
|
||||
-h Show this message.
|
||||
|
@ -25,7 +25,7 @@ usage() {
|
|||
-w <dir> Set the working directory.
|
||||
EOF
|
||||
|
||||
printf '%s\n' "${usage_block[@]}"
|
||||
printf '%s' "${usage_block[@]}"
|
||||
}
|
||||
|
||||
aur.search() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user