diff --git a/kitty/cli.py b/kitty/cli.py index 70fdd2b5b..d09be597d 100644 --- a/kitty/cli.py +++ b/kitty/cli.py @@ -614,8 +614,8 @@ type=bool-set def options_for_completion(): - raw = options_spec() - raw = '--help -h\ntype=bool-set\nShow help for kitty command line options\n\n' + raw + raw = '--help -h\ntype=bool-set\nShow help for {appname} command line options\n\n{raw}'.format( + appname=appname, raw=options_spec()) return parse_option_spec(raw)[0]