From 8186934f72870075b2a7db793411c5f376249a5a Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Tue, 10 Mar 2020 14:13:18 -0400 Subject: [PATCH] chore: add deprecated tag --- plugins/nginx-vhosts/command-functions | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/nginx-vhosts/command-functions b/plugins/nginx-vhosts/command-functions index bd68eca62..0cf9790ec 100755 --- a/plugins/nginx-vhosts/command-functions +++ b/plugins/nginx-vhosts/command-functions @@ -74,6 +74,7 @@ cmd-nginx-report-single() { cmd-nginx-show-config() { declare desc="display app nginx config" declare cmd="nginx:show-config" + declare deprecated=true [[ "$1" == "$cmd" ]] && shift 1 if [[ "$1" == "nginx:show-conf" ]]; then dokku_log_warn "Deprecated: Please use nginx:show-config" @@ -93,6 +94,7 @@ cmd-nginx-show-config() { cmd-nginx-validate-config() { declare desc="validates and optionally cleans up invalid nginx configurations" declare cmd="nginx:validate-config" + declare deprecated=true [[ "$1" == "$cmd" ]] && shift 1 if [[ "$1" == "nginx:validate" ]]; then dokku_log_warn "Deprecated: Please use nginx:validate-config"