aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2020-05-06 12:55:17 +0000
committermerakor <cem@ckyln.com>2020-05-06 12:55:17 +0000
commit854384df381360699d76ad8007bfb372662d1230 (patch)
treea329382e84e946b3c2397396c7682026d740d37d /kiss
parent91dbaeac6abb2f7f3879650a1b87bc0d0ef3cb87 (diff)
downloadcpt-854384df381360699d76ad8007bfb372662d1230.tar.gz
kiss: fix doc-strings for contrib scripts
FossilOrigin-Name: 2591e0f18574cf2aa4e922b747a9db06d5e54e25e17a6a20e68ea60d864cee57
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss5
1 files changed, 4 insertions, 1 deletions
diff --git a/kiss b/kiss
index 5ccab0c..2c7fe34 100755
--- a/kiss
+++ b/kiss
@@ -1475,7 +1475,10 @@ args() {
done
for path do
- printf '\033[31;1m->\033[m %-*s ' "$max" "${path#*/kiss-}"
+ # These are binary files so they should be ignored
+ contains "readlink stat" "$path" && continue
+
+ printf '\033[31;1m->\033[m %-*s ' "$max" "${path#*/kiss-}"
sed -n 's/^# *//;2p' "$(command -v "kiss-$path")"
done | sort -uk1 >&2