Skip to content

Commit

Permalink
Misc formatting fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Finucane <[email protected]>
  • Loading branch information
stephenfin committed Jan 22, 2019
1 parent fc72653 commit b5e5f89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sphinx_click/ext.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ def _format_argument(arg):
yield '.. option:: {}'.format(arg.human_readable_name)
yield ''
yield _indent('{} argument{}'.format(
'Required' if arg.required else 'Optional', '(s)'
if arg.nargs != 1 else ''))
'Required' if arg.required else 'Optional',
'(s)' if arg.nargs != 1 else ''))


def _format_arguments(ctx):
Expand Down

0 comments on commit b5e5f89

Please sign in to comment.