From 1911f9a4b41c51da6e74e7c3a8cc54ef94458ec3 Mon Sep 17 00:00:00 2001 From: Casper Date: Thu, 3 Mar 2022 12:38:28 +0100 Subject: [PATCH] setup.sh: Remove obsolete 'debug inspect' command from usage text (#2454) --- docs/content/config/setup.sh.md | 9 ++++----- target/bin/setup | 7 +++---- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/docs/content/config/setup.sh.md b/docs/content/config/setup.sh.md index 5e71dd4c..11304284 100644 --- a/docs/content/config/setup.sh.md +++ b/docs/content/config/setup.sh.md @@ -16,7 +16,7 @@ chmod a+x ./setup.sh !!! warning "`setup.sh` for `docker-mailserver` version `v10.1.x` and below" If you're using `docker-mailserver` version `v10.1.x` or below, you will need to get `setup.sh` with a specific version. Substitute `` with the [tagged release version](https://github.com/docker-mailserver/docker-mailserver/tags) that you're using: - + `wget https://raw.githubusercontent.com/docker-mailserver/docker-mailserver//setup.sh`. ## Usage @@ -69,16 +69,15 @@ DESCRIPTION ./setup.sh config dkim [ ARGUMENTS... ] COMMAND relay := - ./setup.sh relay add-domain [] ./setup.sh relay add-auth [] + ./setup.sh relay add-domain [] ./setup.sh relay exclude-domain COMMAND debug := - ./setup.sh debug fetchmail ./setup.sh debug fail2ban [unban ] - ./setup.sh debug show-mail-logs - ./setup.sh debug inspect + ./setup.sh debug fetchmail ./setup.sh debug login + ./setup.sh debug show-mail-logs EXAMPLES ./setup.sh email add test@example.com diff --git a/target/bin/setup b/target/bin/setup index 851beaec..2fd8c682 100644 --- a/target/bin/setup +++ b/target/bin/setup @@ -63,16 +63,15 @@ ${RED}[${ORANGE}SUB${RED}]${ORANGE}COMMANDS${RESET} ${0} config ${CYAN}dkim${RESET} [ ARGUMENTS${RED}...${RESET} ] ${LBLUE}COMMAND${RESET} relay ${RED}:=${RESET} - ${0} relay ${CYAN}add-domain${RESET} [] ${0} relay ${CYAN}add-auth${RESET} [] + ${0} relay ${CYAN}add-domain${RESET} [] ${0} relay ${CYAN}exclude-domain${RESET} ${LBLUE}COMMAND${RESET} debug ${RED}:=${RESET} - ${0} debug ${CYAN}fetchmail${RESET} ${0} debug ${CYAN}fail2ban${RESET} [unban ] - ${0} debug ${CYAN}show-mail-logs${RESET} - ${0} debug ${CYAN}inspect${RESET} + ${0} debug ${CYAN}fetchmail${RESET} ${0} debug ${CYAN}login${RESET} + ${0} debug ${CYAN}show-mail-logs${RESET} ${ORANGE}EXAMPLES${RESET} ${WHITE}./setup.sh email add test@example.com${RESET}