mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-23 16:58:09 +02:00
Use program directives to namespace options
This commit is contained in:
@@ -267,7 +267,7 @@ def add_html_context(app, pagename, templatename, context, *args):
|
||||
def write_cli_docs():
|
||||
from kitty.cli import option_spec_as_rst
|
||||
with open('generated/cli-kitty.rst', 'w') as f:
|
||||
f.write(option_spec_as_rst(appname='kitty'))
|
||||
f.write(option_spec_as_rst(appname='kitty').replace('kitty --to', 'kitty @ --to'))
|
||||
|
||||
# }}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user