aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-14 07:02:12 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-07-14 07:02:12 +0000
commit344f6bea65728a5ef1b6a197046554d0c393f055 (patch)
tree63bd93a3c8f99d92631feff4a3b87bac7b05afb4 /kiss
parent880d7e3d520bb5fcb32a094df10039e73d35dafd (diff)
downloadcpt-344f6bea65728a5ef1b6a197046554d0c393f055.tar.gz
kiss: Make package search take multiple aguments.
FossilOrigin-Name: 89b064085eba131521b089d02ff4f5ee127b48c36e2a9e03ee8525905deb187a
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss7
1 files changed, 4 insertions, 3 deletions
diff --git a/kiss b/kiss
index fbad788..f0f6120 100755
--- a/kiss
+++ b/kiss
@@ -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