refactor: alias nginx:default to nginx:help

This commit is contained in:
Jose Diaz-Gonzalez committed 2017-02-20 22:39:53 -07:00
1 parent 885aa47b18
commit ec2e2bc4cc
1 file changed
+2 -10
+2 -10
View File
@@ -1,13 +1,5 @@
#!/usr/bin/env bash
set -eo pipefail; [[ $DOKKU_TRACE ]] && set -x
source "$PLUGIN_CORE_AVAILABLE_PATH/common/functions"
source "$PLUGIN_AVAILABLE_PATH/config/functions"
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/functions"
source "$PLUGIN_AVAILABLE_PATH/nginx-vhosts/internal-functions"
nginx_main_cmd() {
declare desc="display nginx plugin help content"
local cmd="nginx"
help_formatted
}
nginx_main_cmd "$@"
nginx_vhosts_help_cmd "$@"