From d7cf4ab1b84b7888205dd834f8472878342cd2b0 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 29 Aug 2016 09:45:26 -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 c6bafc0..2616004 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ postgres:clone Create container then copy data fro postgres:connect Connect via psql to a postgres service postgres:create Create a postgres service with environment variables postgres:destroy Delete the service and stop its container if there are no links left -postgres:enter [command] Enter a running couchdb service or run a command +postgres:enter [command] Enter or run a command in a running postgres service container postgres:export > Export a dump of the postgres service database postgres:expose [port] Expose a postgres service on custom port if provided (random port otherwise) postgres:import < Import a dump into the postgres 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