From 344f6bea65728a5ef1b6a197046554d0c393f055 Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Sun, 14 Jul 2019 07:02:12 +0000 Subject: kiss: Make package search take multiple aguments. FossilOrigin-Name: 89b064085eba131521b089d02ff4f5ee127b48c36e2a9e03ee8525905deb187a --- kiss | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'kiss') 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 -- cgit v1.2.3