cmd/hydroxide: beautify help message

This commit is contained in:
Simon Ser 2019-07-30 19:25:01 +03:00
parent a46986a871
commit 6fe47ba219
No known key found for this signature in database
GPG Key ID: 0FDE7BE0E88F5E48
1 changed files with 22 additions and 22 deletions

View File

@ -289,16 +289,16 @@ func main() {
log.Fatal(<-done) log.Fatal(<-done)
default: default:
log.Println(`usage: hydroxide <command> <flags> log.Println(`usage: hydroxide <command> <flags>
commands: Commands:
auth <username> Login to ProtonMail via hydroxide auth <username> Login to ProtonMail via hydroxide
export-secret-keys Export keys
smtp Run hydroxide as an SMTP server
imap Run hydroxide as an IMAP server
carddav Run hydroxide as a CardDAV server carddav Run hydroxide as a CardDAV server
export-secret-keys Export keys
imap Run hydroxide as an IMAP server
serve Run all servers serve Run all servers
smtp Run hydroxide as an SMTP server
status View hydroxide status status View hydroxide status
flags: Flags:
-smtp-host example.com -smtp-host example.com
Allowed SMTP email hostname on which hydroxide listens, defaults to 127.0.0.1 Allowed SMTP email hostname on which hydroxide listens, defaults to 127.0.0.1
-imap-host example.com -imap-host example.com