From 929270cdbf55312a817eff507821f5c020f3f7cd Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 21 Jun 2020 17:32:18 +0300 Subject: [PATCH] kiss: Make help work for all files --- contrib/kiss-help | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/kiss-help b/contrib/kiss-help index 8b9a108..d207e79 100755 --- a/contrib/kiss-help +++ b/contrib/kiss-help @@ -8,6 +8,7 @@ cd "$KISS_ROOT/usr/share/doc/kiss" 2>/dev/null || { [ -f "${1:-.}/index.txt" ] && file=./${1:-.}/index.txt [ -f "${1:-.}.txt" ] && file=./${1:-.}.txt +[ -f "${1:-:}" ] && file=./${1:-.} "${PAGER:-less}" "${file:-404.txt}"