From a7882fabc7831c7e43e1611b886eb3d3a1daa1b1 Mon Sep 17 00:00:00 2001 From: Mara Sophie Grosch Date: Mon, 22 Nov 2021 17:58:19 +0100 Subject: Use IPv6 doc prefix for docs (#324) IPv6 has a dedicated prefix for documentation and examples, this commit makes use of it for BindAddress config flag docs and examples. --- cmd/gotosocial/generalflags.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd') diff --git a/cmd/gotosocial/generalflags.go b/cmd/gotosocial/generalflags.go index 9f321b760..b7e15ab20 100644 --- a/cmd/gotosocial/generalflags.go +++ b/cmd/gotosocial/generalflags.go @@ -64,7 +64,7 @@ func generalFlags(flagNames, envNames config.Flags, defaults config.Defaults) [] }, &cli.StringFlag{ Name: flagNames.BindAddress, - Usage: "Bind address to use for the GoToSocial server (eg., 0.0.0.0, 172.138.0.9, [::], localhost). For ipv6, enclose the address in square brackets, eg [2a02:1807:1430:500:13f5:5efb:3f3a:1191]. Default binds to all interfaces.", + Usage: "Bind address to use for the GoToSocial server (eg., 0.0.0.0, 172.138.0.9, [::], localhost). For ipv6, enclose the address in square brackets, eg [2001:db8::fed1]. Default binds to all interfaces.", Value: defaults.BindAddress, EnvVars: []string{envNames.BindAddress}, }, -- cgit v1.2.3