Fix src2asciidoc.py.

This got broken with the command refactoring.
This commit is contained in:
Florian Bruhin 2014-10-26 19:47:53 +01:00
parent bb031b51f7
commit f465693523

View File

@ -179,7 +179,7 @@ def _get_command_doc(name, cmd):
raise KeyError("No description for arg {} of command "
"'{}'!".format(e, cmd.name))
if cmd.special_parameters.count is not None:
if cmd.special_params['count'] is not None:
output.append("")
output.append("==== count")
output.append(parser.arg_descs[cmd.special_params['count']])