Use correct invocation command line for kittens in docs
This commit is contained in:
parent
48c7c538c1
commit
2bb8539775
1 changed files with 4 additions and 2 deletions
|
|
@ -282,9 +282,11 @@ def write_cli_docs(all_kitten_names: Iterable[str]) -> None:
|
|||
p(f'\nThe source code for this kitten is `available on GitHub <{scurl}>`_.')
|
||||
p('\nCommand Line Interface')
|
||||
p('-' * 72)
|
||||
appname = f'kitten {kitten}'
|
||||
if kitten in ('panel', 'broadcast'):
|
||||
appname = 'kitty +' + appname
|
||||
p('\n\n' + option_spec_as_rst(
|
||||
data['options'], message=data['help_text'], usage=data['usage'], appname=f'kitty +kitten {kitten}',
|
||||
heading_char='^'))
|
||||
data['options'], message=data['help_text'], usage=data['usage'], appname=appname, heading_char='^'))
|
||||
|
||||
# }}}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue