chore: add deprecated tag

This commit is contained in:
Jose Diaz-Gonzalez
2020-03-10 14:13:18 -04:00
parent 0b758d2ba0
commit 8186934f72

View File

@@ -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"