Start work on completion for the kitty command

This commit is contained in:
Kovid Goyal
2018-08-23 15:02:03 +05:30
parent 96c444d041
commit 16764c79b2
3 changed files with 104 additions and 0 deletions

View File

@@ -599,6 +599,10 @@ def options_spec():
return options_spec.ans
def options_for_completion():
return parse_option_spec(options_spec())[0]
def option_spec_as_rst(ospec=options_spec, usage=None, message=None, appname=None, heading_char='-'):
options = parse_option_spec(ospec())
seq, disabled = options