fixed regression in docs-update.py

17500eb renamed 'help' as 'help_string', but there was a miss


Signed-off-by: Anthony Baire <Anthony.Baire@irisa.fr>
Upstream-commit: 9f8c14026ce2ddf0f69eb7a416cfb56da5443032
Component: engine
This commit is contained in:
Anthony Baire
2014-11-28 13:36:27 +01:00
parent 5d5bf9faad
commit 647ad41bc0

View File

@ -148,7 +148,7 @@ def update_man_pages():
help_string = e.output
last_key = ""
for l in str(help).split("\n"):
for l in str(help_string).split("\n"):
l = l.rstrip()
if l != "":
match = re.match("Usage: docker {}(.*)".format(command), l)