diff --git a/README.md b/README.md index 1ea153e..63be812 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ redis:clone Create container then copy data from < redis:connect Connect via redis-cli to a redis service redis:create Create a redis service with environment variables redis:destroy Delete the service and stop its container if there are no links left -redis:enter [command] Enter a running couchdb service or run a command +redis:enter [command] Enter or run a command in a running redis service container redis:export > Export a dump of the redis service database redis:expose [port] Expose a redis service on custom port if provided (random port otherwise) redis:import Import a dump into the redis 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