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 run modernize 2025-11-11 17:09:37 +05:30
bash.go
command.go Allow using defer in KittenMain 2025-09-30 11:20:37 +05:30
completion-main.go
completion-parse-args.go
completion.go run modernize 2025-11-11 17:09:37 +05:30
files.go run modernize 2025-11-11 17:09:37 +05:30
files_test.go
fish.go
group.go
help.go Fix silent failure when pager (less) is not installed 2026-05-13 00:37:55 +08:00
option-from-string.go
option.go
parse-args.go
types_test.go
wcswidth_kitten.go Modernize Go code 2026-03-21 08:41:47 +05:30
zsh.go ... 2025-12-08 20:47:20 +05:30