summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorBen Finney <ben+python@benfinney.id.au>2018-04-23 16:21:02 +1000
committerBen Finney <ben@benfinney.id.au>2018-04-23 19:23:21 +1000
commit2b766949a7f2dd6025c9af3290d01f531130ed2d (patch)
tree7e402c9f0eb45a19ebc26fdbf4d3483908737c17 /docs
parentec78184ffaa9c5aee56f98680810efcda082e263 (diff)
Reformat a long statement in documentation code.
Diffstat (limited to 'docs')
-rwxr-xr-xdocs/source/generate_commands.py4
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'