cpt

[ARCHIVED] Carbs Packaging Tools
git clone git://git.ckyln.com/~cem/cpt.git
Log | Files | Refs | README | LICENSE

commit 800eb1afd1a8741f5e7acc79558c90b2a1a528e5
parent fcb45db074ae6b927ea5fa2f1979436a4008df6c
Author: Dylan Araps <dylan.araps@gmail.com>
Date:   Sun, 14 Jul 2019 10:02:13 +0300

kiss: Make package search take multiple aguments.

Diffstat:
Mkiss | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git 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