Fix help output on the compose subcommand.
(cherry picked from commit a3572c9fdd
)
This commit is contained in:
parent
2251c540c8
commit
2d5f434b12
@ -48,7 +48,7 @@ def compose_cmd(opts):
|
|||||||
"logs": compose_logs,
|
"logs": compose_logs,
|
||||||
"image": compose_image,
|
"image": compose_image,
|
||||||
}
|
}
|
||||||
if opts.args == "help" or opts.args == "--help":
|
if opts.args[1] == "help" or opts.args[1] == "--help":
|
||||||
print(compose_help)
|
print(compose_help)
|
||||||
return 0
|
return 0
|
||||||
elif opts.args[1] not in cmd_map:
|
elif opts.args[1] not in cmd_map:
|
||||||
|
Loading…
Reference in New Issue
Block a user