aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-04-19 13:55:23 +0000
committermerakor <cem@ckyln.com>2020-04-19 13:55:23 +0000
commit6ac0ee532babf0a0e50e0b7fbd2a2857bf0545ed (patch)
tree3cae8833d1494a863aa6eb7d26ad84f67978fe2d
parent7af77a3d8fd17b5f602120a05b158f4678f81930 (diff)
downloadcpt-1.13.1.tar.gz
kiss: Revert 'kiss s' and 'kiss ss' changes1.13.1
FossilOrigin-Name: 31c14acdc8ad53b425fa1ee8294a675089d78c8b8287806342b560790394e627
-rwxr-xr-xcontrib/kiss-repodepends2
-rwxr-xr-xkiss14
-rw-r--r--man/kiss.14
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