summaryrefslogtreecommitdiff
path: root/docs/source/generate_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/generate_commands.py')
-rwxr-xr-xdocs/source/generate_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/source/generate_commands.py b/docs/source/generate_commands.py
index 3731c574..e31c130c 100755
--- a/docs/source/generate_commands.py
+++ b/docs/source/generate_commands.py
@@ -58,7 +58,7 @@ def rstify_parser(parser):
if len(parser._positionals._group_actions) == 1:
out += " argument\n"
a = parser._positionals._group_actions[0]
- out += ' '*8 + parser._positionals._group_actions[0].help
+ out += ' '*8 + str(parser._positionals._group_actions[0].help)
if a.choices:
out += ". valid choices are: %s." % ','.join(['\`%s\`' % s for s
in a.choices])