DRYer
This commit is contained in:
parent
b98bc1c787
commit
d8d7765a82
@ -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…
x
Reference in New Issue
Block a user