update from field with more clarity

This commit is contained in:
tsmethurst 2021-10-16 18:29:00 +02:00
commit f253fce5f1
2 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@ func smtpFlags(flagNames, envNames config.Flags, defaults config.Defaults) []cli
},
&cli.StringFlag{
Name: flagNames.SMTPFrom,
Usage: "String to use as the 'from' field of the email. Eg., 'gotosocial@example.org'",
Usage: "Address to use as the 'from' field of the email. Eg., 'gotosocial@example.org'",
Value: defaults.SMTPFrom,
EnvVars: []string{envNames.SMTPFrom},
},

View file

@ -388,7 +388,7 @@ smtp:
# Examples: ["1234", "password"]
# Default: ""
password:
# String. 'From' field for sent emails.
# Examples: ["mail@example.org", "GoToSocial"]
# Default: "GoToSocial"
from: "GoToSocial"
# String. 'From' address for sent emails.
# Examples: ["mail@example.org"]
# Default: ""
from: ""