From 6dddc7250988df8823fda44db3b1ce4b408ab56c Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 29 Aug 2016 09:45:17 -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 722f3ef..fda0233 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ mongo:connect Connect via telnet to a mongo service mongo:connect-admin Connect via telnet to a mongo service as admin user mongo:create Create a mongo service with environment variables mongo:destroy Delete the service and stop its container if there are no links left -mongo:enter [command] Enter a running couchdb service or run a command +mongo:enter [command] Enter or run a command in a running mongo service container mongo:export > Export a dump of the mongo service database mongo:expose [port] Expose a mongo service on custom port if provided (random port otherwise) mongo:import < Import a dump into the mongo 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