diff options
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/gotosocial/main.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cmd/gotosocial/main.go b/cmd/gotosocial/main.go index fde83e623..e8bc793bd 100644 --- a/cmd/gotosocial/main.go +++ b/cmd/gotosocial/main.go @@ -69,11 +69,17 @@ func main() { }, &cli.StringFlag{ Name: flagNames.Host, - Usage: "Hostname to use for the server (eg., example.org, gotosocial.whatever.com)", + Usage: "Hostname to use for the server (eg., example.org, gotosocial.whatever.com). DO NOT change this on a server that's already run!", Value: defaults.Host, EnvVars: []string{envNames.Host}, }, &cli.StringFlag{ + Name: flagNames.AccountDomain, + Usage: "Domain to use in account names (eg., example.org, whatever.com). If not set, will default to the setting for host. DO NOT change this on a server that's already run!", + Value: defaults.AccountDomain, + EnvVars: []string{envNames.AccountDomain}, + }, + &cli.StringFlag{ Name: flagNames.Protocol, Usage: "Protocol to use for the REST api of the server (only use http for debugging and tests!)", Value: defaults.Protocol, |