diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-14 07:02:12 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-14 07:02:12 +0000 |
commit | 344f6bea65728a5ef1b6a197046554d0c393f055 (patch) | |
tree | 63bd93a3c8f99d92631feff4a3b87bac7b05afb4 | |
parent | 880d7e3d520bb5fcb32a094df10039e73d35dafd (diff) | |
download | cpt-344f6bea65728a5ef1b6a197046554d0c393f055.tar.gz |
kiss: Make package search take multiple aguments.
FossilOrigin-Name: 89b064085eba131521b089d02ff4f5ee127b48c36e2a9e03ee8525905deb187a
-rwxr-xr-x | kiss | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |