Fix help output on the compose subcommand.

(cherry picked from commit a3572c9fdd)
This commit is contained in:
Chris Lumens 2018-07-25 12:49:25 -04:00
parent db98df8373
commit c3987cc4cb

View File

@ -48,7 +48,7 @@ def compose_cmd(opts):
"logs": compose_logs,
"image": compose_image,
}
if opts.args == "help" or opts.args == "--help":
if opts.args[1] == "help" or opts.args[1] == "--help":
print(compose_help)
return 0
elif opts.args[1] not in cmd_map: