mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-24 16:10:05 -07:00
kiss: Make package search take multiple aguments.
This commit is contained in:
parent
fcb45db074
commit
800eb1afd1
7
kiss
7
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
|
||||
|
Loading…
Reference in New Issue
Block a user