From 10b1fd4068185a4ed31c2eee6792b83570e4da24 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 29 Aug 2016 09:45:21 -0400 Subject: [PATCH] Fix help output for enter command --- README.md | 2 +- subcommands/enter | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 87872b6..2afb625 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ mysql:clone Create container then copy data from < mysql:connect Connect via mysql to a mysql service mysql:create Create a mysql service with environment variables mysql:destroy Delete the service and stop its container if there are no links left -mysql:enter [command] Enter a running couchdb service or run a command +mysql:enter [command] Enter or run a command in a running mysql service container mysql:export > Export a dump of the mysql service database mysql:expose [port] Expose a mysql service on custom port if provided (random port otherwise) mysql:import < Import a dump into the mysql service database diff --git a/subcommands/enter b/subcommands/enter index d59a44f..c2499c9 100755 --- a/subcommands/enter +++ b/subcommands/enter @@ -5,7 +5,7 @@ source "$PLUGIN_BASE_PATH/common/functions" source "$(dirname "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)")/functions" enter-cmd() { - declare desc="enter a running $PLUGIN_SERVICE service or run a command" + declare desc="enter or run a command in a running $PLUGIN_SERVICE service container" local cmd="$PLUGIN_COMMAND_PREFIX:enter" argv=("$@"); [[ ${argv[0]} == "$cmd" ]] && shift 1 declare SERVICE="$1" && shift 1