Merge pull request #9396 from a-ba/fix-docs-update

fixed regression in docs-update.py
Upstream-commit: 5336f4463030798aca14d6b685068138b298d521
Component: engine
This commit is contained in:
James Turnbull
2014-11-29 02:12:54 -05:00

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)