From ffe43b019412d226056c9967f9f120aa50f9022d Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Wed, 27 Nov 2019 23:38:32 +0100 Subject: [PATCH] new: print usage section in help !minor Signed-off-by: Valentin Lab --- bin/compose-core | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/bin/compose-core b/bin/compose-core index cd9a02b..4e39083 100755 --- a/bin/compose-core +++ b/bin/compose-core @@ -117,12 +117,6 @@ clean_cache() { } -usage="$exname SERVICE"' - -Deploy and manage a swarm of containers to provide services based on -a ``compose.yml`` definition and charms from a ``charm-store``. -' - export DEFAULT_COMPOSE_FILE ## @@ -3579,6 +3573,8 @@ get_docker_charm_action_help() { display_help() { print_help + echo "${WHITE}Usage${NORMAL}:" + echo " $usage" echo "${WHITE}Options${NORMAL}:" echo " -h, --help Print this message and quit" echo " (ignoring any other options)"