diff options
author | Ben Finney <ben+python@benfinney.id.au> | 2018-04-23 16:21:02 +1000 |
---|---|---|
committer | Ben Finney <ben@benfinney.id.au> | 2018-04-23 19:23:21 +1000 |
commit | 2b766949a7f2dd6025c9af3290d01f531130ed2d (patch) | |
tree | 7e402c9f0eb45a19ebc26fdbf4d3483908737c17 /docs | |
parent | ec78184ffaa9c5aee56f98680810efcda082e263 (diff) |
Reformat a long statement in documentation code.
Diffstat (limited to 'docs')
-rwxr-xr-x | docs/source/generate_commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/source/generate_commands.py b/docs/source/generate_commands.py index 4ead8c11..5eda4978 100755 --- a/docs/source/generate_commands.py +++ b/docs/source/generate_commands.py @@ -65,8 +65,8 @@ def rstify_parser(parser): for index, a in enumerate(parser._positionals._group_actions): out += " %s: %s" % (index, a.help) if a.choices: - out += ". valid choices are: %s." % ','.join(['\`%s\`' % s for s - in a.choices]) + out += ". valid choices are: %s." % ','.join( + ['\`%s\`' % s for s in a.choices]) if a.default: out += ". defaults to: '%s'." % a.default out += '\n' |