kiss: Make package search take multiple aguments.

This commit is contained in:
Dylan Araps 2019-07-14 10:02:13 +03:00
parent fcb45db074
commit 800eb1afd1

7
kiss
View File

@ -926,13 +926,14 @@ args() {
# Search packages
s*)
[ "$2" ] || die "'kiss search' requires an argument."
pkg_search "$2"
shift
[ "$1" ] || die "'kiss search' requires an argument."
for pkg; do pkg_search "$pkg"; done
;;
# Print version and exit.
v*)
log "$kiss 0.2.7"
log "$kiss 0.3.0"
;;
# Catch all invalid arguments as well as