mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-10-23 21:52:18 +00:00
Merge branch 'reproducible-docs' of https://github.com/jamessan/kitty
This commit is contained in:
commit
321e5081ed
1 changed files with 1 additions and 1 deletions
|
|
@ -454,7 +454,7 @@ def seq_as_rst(seq, usage, message, appname, heading_char='-'):
|
|||
if defval is not None:
|
||||
a(textwrap.indent('Default: :code:`{}`'.format(defval), ' ' * 4))
|
||||
if 'choices' in opt:
|
||||
a(textwrap.indent('Choices: :code:`{}`'.format(', '.join(opt['choices'])), ' ' * 4))
|
||||
a(textwrap.indent('Choices: :code:`{}`'.format(', '.join(sorted(opt['choices']))), ' ' * 4))
|
||||
a('')
|
||||
|
||||
text = '\n'.join(blocks)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue