From 3187ec0310703bffd84394fc74bdac5e3c04dc2c Mon Sep 17 00:00:00 2001 From: merakor Date: Thu, 7 May 2020 17:42:01 +0000 Subject: kiss: output help and extension to stdout so they can be parsed FossilOrigin-Name: a87537cd33222022ffda4422b03a245bfde3fc0b8a7d9968533fd36053ee8df7 --- kiss | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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' -- cgit v1.2.3