Fix help output on the compose subcommand.

This commit is contained in:
Chris Lumens 2018-07-25 12:49:25 -04:00
parent 7bcb61849d
commit a3572c9fdd

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: