Fix help output for enter command
This commit is contained in:
@@ -22,7 +22,7 @@ mongo:connect <name> Connect via telnet to a mongo service
|
||||
mongo:connect-admin <name> Connect via telnet to a mongo service as admin user
|
||||
mongo:create <name> Create a mongo service with environment variables
|
||||
mongo:destroy <name> Delete the service and stop its container if there are no links left
|
||||
mongo:enter <name> [command] Enter a running couchdb service or run a command
|
||||
mongo:enter <name> [command] Enter or run a command in a running mongo service container
|
||||
mongo:export <name> > <file> Export a dump of the mongo service database
|
||||
mongo:expose <name> [port] Expose a mongo service on custom port if provided (random port otherwise)
|
||||
mongo:import <name> < <file> Import a dump into the mongo service database
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user