Fix help output for enter command

This commit is contained in:
Jose Diaz-Gonzalez
2016-08-29 09:45:26 -04:00
parent 02316598de
commit d7cf4ab1b8
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ postgres:clone <name> <new-name> Create container <new-name> then copy data fro
postgres:connect <name> Connect via psql to a postgres service
postgres:create <name> Create a postgres service with environment variables
postgres:destroy <name> Delete the service and stop its container if there are no links left
postgres:enter <name> [command] Enter a running couchdb service or run a command
postgres:enter <name> [command] Enter or run a command in a running postgres service container
postgres:export <name> > <file> Export a dump of the postgres service database
postgres:expose <name> [port] Expose a postgres service on custom port if provided (random port otherwise)
postgres:import <name> < <file> Import a dump into the postgres service database

View File

@@ -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