We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0b79f9 commit 0d15c6fCopy full SHA for 0d15c6f
kitty/cli.py
@@ -528,7 +528,7 @@ def seq_as_rst(
528
if defval is not None:
529
a(textwrap.indent(f'Default: :code:`{escape_rst(str(defval))}`', ' ' * 4))
530
if opt.get('choices'):
531
- a(textwrap.indent('Choices: {}'.format(', '.join(f':code:`{c}`' for c in sorted(opt['choices']))), ' ' * 4))
+ a(textwrap.indent('Choices: {}'.format(', '.join(f':code:`{escape_rst(c)}`' for c in sorted(opt['choices']))), ' ' * 4))
532
a('')
533
534
text = '\n'.join(blocks)
0 commit comments