commit 1b5e60256193855a09c9a2dbc6b4daca0b70769d
parent b5a50e71a4e25b05518cd41e06645ad90a8887db
Author: Cem Keylan <cem@ckyln.com>
Date: Thu, 7 May 2020 20:42:01 +0300
kiss: output help and extension to stdout so they can be parsed
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git 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'