diff --git a/components/engine/docs/docs-update.py b/components/engine/docs/docs-update.py index b605aeccb2..11d7452268 100755 --- a/components/engine/docs/docs-update.py +++ b/components/engine/docs/docs-update.py @@ -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)