mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-24 09:18:08 +02:00
DRYer
This commit is contained in:
@@ -614,8 +614,8 @@ type=bool-set
|
|||||||
|
|
||||||
|
|
||||||
def options_for_completion():
|
def options_for_completion():
|
||||||
raw = options_spec()
|
raw = '--help -h\ntype=bool-set\nShow help for {appname} command line options\n\n{raw}'.format(
|
||||||
raw = '--help -h\ntype=bool-set\nShow help for kitty command line options\n\n' + raw
|
appname=appname, raw=options_spec())
|
||||||
return parse_option_spec(raw)[0]
|
return parse_option_spec(raw)[0]
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user