From 6ac0ee532babf0a0e50e0b7fbd2a2857bf0545ed Mon Sep 17 00:00:00 2001 From: merakor Date: Sun, 19 Apr 2020 13:55:23 +0000 Subject: kiss: Revert 'kiss s' and 'kiss ss' changes FossilOrigin-Name: 31c14acdc8ad53b425fa1ee8294a675089d78c8b8287806342b560790394e627 --- contrib/kiss-repodepends | 2 +- kiss | 14 ++++++-------- man/kiss.1 | 4 +--- 3 files changed, 8 insertions(+), 12 deletions(-) diff --git a/contrib/kiss-repodepends b/contrib/kiss-repodepends index 64a9833..fded3b2 100755 --- a/contrib/kiss-repodepends +++ b/contrib/kiss-repodepends @@ -2,4 +2,4 @@ # # kiss-repodepends -cat "$(kiss ss "$1")/depends" 2>/dev/null +cat "$(kiss s "$1" | sed 1q)/depends" 2>/dev/null diff --git a/kiss b/kiss index f4e3ec1..1431f7b 100755 --- a/kiss +++ b/kiss @@ -1330,15 +1330,14 @@ args() { done ;; - b|build) pkg_build "${@:?No packages installed}" ;; - l|list) pkg_list "$@" ;; - u|update) pkg_updates ;; - s|search) for pkg do pkg_find "$pkg" all; done ;; - ss|singlesearch) for pkg do pkg_find "$pkg"; done ;; - v|version) log kiss 1.13.0 ;; + b|build) pkg_build "${@:?No packages installed}" ;; + l|list) pkg_list "$@" ;; + u|update) pkg_updates ;; + s|search) for pkg do pkg_find "$pkg" all; done ;; + v|version) log kiss 1.13.1 ;; h|help|-h|--help|'') - log 'kiss [a|b|c|f|i|l|r|s|ss|u|v] [pkg] [pkg] [pkg]' + log 'kiss [a|b|c|f|i|l|r|s|u|v] [pkg] [pkg] [pkg]' log 'alternatives: List and swap to alternatives' log 'build: Build a package' log 'checksum: Generate checksums' @@ -1347,7 +1346,6 @@ args() { log 'list: List installed packages' log 'remove: Remove a package' log 'search: Search for a package' - log 'singlesearch: Output the first match of a package' log 'update: Check for updates' log 'version: Package manager version' ;; diff --git a/man/kiss.1 b/man/kiss.1 index 9f32c27..b37902a 100644 --- a/man/kiss.1 +++ b/man/kiss.1 @@ -7,7 +7,7 @@ written in POSIX sh. Forked from KISS Linux. .PP .SH SYNOPSIS .IP kiss -[a|b|c|f|i|l|r|s|ss|u|v] [pkg] [pkg] [pkg] +[a|b|c|f|i|l|r|s|u|v] [pkg] [pkg] [pkg] .PP .SH OPTIONS .TP @@ -27,8 +27,6 @@ written in POSIX sh. Forked from KISS Linux. .TP \fBsearch\fR Search for a package .TP -\fBsinglesearch\fR Output the first match of a package -.TP \fBupdate\fR Check for updates .TP \fBversion\fR Package manager version -- cgit v1.2.3