mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-26 02:41:54 +00:00
DRYer
This commit is contained in:
parent
b98bc1c787
commit
d8d7765a82
1 changed files with 2 additions and 2 deletions
|
|
@ -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]
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue