From ec2e2bc4ccfa76b146702f8baefd93b82cac96a5 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 20 Feb 2017 22:39:53 -0700 Subject: [PATCH] refactor: alias nginx:default to nginx:help --- plugins/nginx-vhosts/subcommands/default | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) mode change 100644 => 100755 plugins/nginx-vhosts/subcommands/default diff --git a/plugins/nginx-vhosts/subcommands/default b/plugins/nginx-vhosts/subcommands/default old mode 100644 new mode 100755 index 30cb86061..5a4deae9b --- a/plugins/nginx-vhosts/subcommands/default +++ b/plugins/nginx-vhosts/subcommands/default @@ -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 "$@"