kitty/tools/cli
Xuyiyang23333 c0661024d8 Fix silent failure when pager (less) is not installed
When kitten --help is run in a terminal and less is not available,
ShowHelpInPager silently discards the error from pager.Run(), resulting
in no output and a zero exit code. Fall back to writing help text
directly to stdout when the pager fails, matching the behavior of the
Python equivalent in kitty/cli.py which catches FileNotFoundError and
prints the text as a fallback.

Signed-off-by: Xuyiyang23333 <xuyiyang23333@gmail.com>
2026-05-13 00:37:55 +08:00
..
markup
bash.go
command.go
completion-main.go
completion-parse-args.go
completion.go
files.go
files_test.go
fish.go
group.go
help.go
option-from-string.go
option.go
parse-args.go
types_test.go
wcswidth_kitten.go
zsh.go