mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 18:22:09 +02:00
Use correct invocation command line for kittens in docs
This commit is contained in:
@@ -282,9 +282,11 @@ if you specify a program-to-run you can use the special placeholder
|
|||||||
p(f'\nThe source code for this kitten is `available on GitHub <{scurl}>`_.')
|
p(f'\nThe source code for this kitten is `available on GitHub <{scurl}>`_.')
|
||||||
p('\nCommand Line Interface')
|
p('\nCommand Line Interface')
|
||||||
p('-' * 72)
|
p('-' * 72)
|
||||||
|
appname = f'kitten {kitten}'
|
||||||
|
if kitten in ('panel', 'broadcast'):
|
||||||
|
appname = 'kitty +' + appname
|
||||||
p('\n\n' + option_spec_as_rst(
|
p('\n\n' + option_spec_as_rst(
|
||||||
data['options'], message=data['help_text'], usage=data['usage'], appname=f'kitty +kitten {kitten}',
|
data['options'], message=data['help_text'], usage=data['usage'], appname=appname, heading_char='^'))
|
||||||
heading_char='^'))
|
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user