1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-11-04 22:15:36 -07:00

kiss: Fix KISS_COLOR support for help output

This commit is contained in:
Dylan Araps 2020-05-19 12:55:10 +03:00
parent f154c427e4
commit 278de80b25
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

2
kiss
View File

@ -1581,7 +1581,7 @@ args() {
done
for path do
printf '\033[31;1m->\033[m %-*s ' "$max" "${path#*/kiss-}"
printf '%b->%b %-*s ' "$lcol" "$lclr" "$max" "${path#*/kiss-}"
sed -n 's/^# *//;2p' "$(command -v "kiss-$path")"
done | sort -uk1 >&2
;;