From c3987cc4cbc375104915a9f9c77d3e7b6d0ce2a0 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 25 Jul 2018 12:49:25 -0400 Subject: [PATCH] Fix help output on the compose subcommand. (cherry picked from commit a3572c9fddb1dceff7148b768a38f42622a8af64) --- src/composer/cli/compose.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/composer/cli/compose.py b/src/composer/cli/compose.py index 1ec4e261..408c56af 100644 --- a/src/composer/cli/compose.py +++ b/src/composer/cli/compose.py @@ -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: