mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-11-19 13:00:05 -07:00
kiss: Added search.
This commit is contained in:
parent
bd79daab8b
commit
4344a2d017
9
kiss
9
kiss
@ -889,6 +889,12 @@ args() {
|
||||
pkg_updates
|
||||
;;
|
||||
|
||||
# Search packages
|
||||
s*)
|
||||
[ "$2" ] || die "'kiss search' requires an argument."
|
||||
pkg_search "$2"
|
||||
;;
|
||||
|
||||
# Print version and exit.
|
||||
v*)
|
||||
log "$kiss 0.2.6"
|
||||
@ -897,12 +903,13 @@ args() {
|
||||
# Catch all invalid arguments as well as
|
||||
# any help related flags (-h, --help, help).
|
||||
*)
|
||||
log "$kiss [b|c|i|l|r|u] [pkg]" \
|
||||
log "$kiss [b|c|i|l|r|s|u] [pkg]" \
|
||||
"build: Build a package." \
|
||||
"checksum: Generate checksums." \
|
||||
"install: Install a package (Runs build if needed)." \
|
||||
"list: List packages." \
|
||||
"remove: Remove a package." \
|
||||
"search: Search for a package." \
|
||||
"update: Check for updates."
|
||||
;;
|
||||
esac
|
||||
|
Loading…
Reference in New Issue
Block a user