diff --git a/commands b/commands index c6bb750..6c4fcac 100755 --- a/commands +++ b/commands @@ -193,7 +193,7 @@ case "$1" in ;; help) - cat && cat< , Set an alias for the docker link $PLUGIN_COMMAND_PREFIX:create , Create a $PLUGIN_SERVICE service $PLUGIN_COMMAND_PREFIX:destroy , Delete the $PLUGIN_SERVICE service and stop its container if there are no links left @@ -212,6 +212,12 @@ case "$1" in $PLUGIN_COMMAND_PREFIX:start , Start a previously stopped $PLUGIN_SERVICE service $PLUGIN_COMMAND_PREFIX:stop , Stop a running $PLUGIN_SERVICE service EOF +) + if [[ -n $DOKKU_API_VERSION ]]; then + echo "$HELP" + else + cat && echo "$HELP" + fi ;; *)