diff options
author | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-13 20:30:59 +0000 |
---|---|---|
committer | dylan.araps@gmail.com <dylan.araps@gmail.com> | 2019-07-13 20:30:59 +0000 |
commit | 65a56cfdca4b491f949c20ecbb607630f64a663c (patch) | |
tree | 42b5baa457191d3e16fa5d3ffb907267ad73b18a /kiss | |
parent | fe8c1fcfeff7a5552513fc17d1b7d6e902b326b4 (diff) | |
download | cpt-65a56cfdca4b491f949c20ecbb607630f64a663c.tar.gz |
kiss: Added search.
FossilOrigin-Name: dd50c09d0876bd158a7709bb2c95076a2c89fd7319b78c4b9bf676ccd5450eb7
Diffstat (limited to 'kiss')
-rwxr-xr-x | kiss | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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 |