mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-31 07:09:57 +02:00
chore: Sync dovecot-master-user commands to use new style syntax (#2611)
Adopt the new colour vars from `helpers/log.sh` like the other supported commands have.
This commit is contained in:
parent
5437b0e30b
commit
1bd8ef3976
2 changed files with 18 additions and 18 deletions
|
@ -9,24 +9,24 @@ DATABASE=/tmp/docker-mailserver/dovecot-masters.cf
|
|||
|
||||
function __usage
|
||||
{
|
||||
printf "\e[35mADDDOVECOTMASTERUSER\e[31m(\e[93m8\e[31m)
|
||||
printf '%s' "${PURPLE}ADDDOVECOTMASTERUSER${RED}(${YELLOW}8${RED})
|
||||
|
||||
\e[38;5;214mNAME\e[39m
|
||||
${ORANGE}NAME${RESET}
|
||||
addmasteruser - add a dovecot master user (for POP3/IMAP administration)
|
||||
|
||||
\e[38;5;214mSYNOPSIS\e[39m
|
||||
${ORANGE}SYNOPSIS${RESET}
|
||||
./setup.sh dovecot-master add <USERNAME> [<PASSWORD>]
|
||||
|
||||
\e[38;5;214mOPTIONS\e[39m
|
||||
\e[94mGeneric Program Information\e[39m
|
||||
${ORANGE}OPTIONS${RESET}
|
||||
${BLUE}Generic Program Information${RESET}
|
||||
help Print the usage information.
|
||||
|
||||
\e[38;5;214mEXAMPLES\e[39m
|
||||
\e[37m./setup.sh dovecot-master add test-user\e[39m
|
||||
${ORANGE}EXAMPLES${RESET}
|
||||
${LWHITE}./setup.sh dovecot-master add test-user${RESET}
|
||||
Add the dovecot master account 'test-user'. You will be prompted
|
||||
to input a password afterwards since no password was supplied.
|
||||
|
||||
\e[38;5;214mEXIT STATUS\e[39m
|
||||
${ORANGE}EXIT STATUS${RESET}
|
||||
Exit status is 0 if command was successful. If wrong arguments are provided
|
||||
or arguments contain errors, the script will exit early with exit status 1.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue