aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-07 17:42:01 +0000
committermerakor <cem@ckyln.com>2020-05-07 17:42:01 +0000
commit3187ec0310703bffd84394fc74bdac5e3c04dc2c (patch)
treef84706cf184d09c1bdd6a89653c021eaefb9f9bb
parent0fc522bd810e4fe017e9a8eaf4e0fb782c7a5b2b (diff)
downloadcpt-3187ec0310703bffd84394fc74bdac5e3c04dc2c.tar.gz
kiss: output help and extension to stdout so they can be parsed
FossilOrigin-Name: a87537cd33222022ffda4422b03a245bfde3fc0b8a7d9968533fd36053ee8df7
-rwxr-xr-xkiss4
1 files changed, 3 insertions, 1 deletions
diff --git a/kiss b/kiss
index ddf6b82..d3940bd 100755
--- a/kiss
+++ b/kiss
@@ -1444,8 +1444,9 @@ args() {
;;
e|extension)
- log "Installed extensions"
+ exec 2>&1
+ log "Installed extensions"
set --
for path in $(KISS_PATH=$PATH pkg_find kiss-* all); do
@@ -1479,6 +1480,7 @@ args() {
v|version) log kiss 1.19.0 ;;
h|help|-h|--help|'')
+ exec 2>&1
log 'kiss [a|b|c|e|f|i|l|r|s|u|v] [pkg] [pkg] [pkg]'
log 'alternatives List and swap to alternatives'
log 'build Build a package'