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{ &cli.StringFlag{
Name: flagNames.SMTPFrom, 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, Value: defaults.SMTPFrom,
EnvVars: []string{envNames.SMTPFrom}, EnvVars: []string{envNames.SMTPFrom},
}, },

View file

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