improve wording

This commit is contained in:
Vladislav Yarmak 2023-06-27 00:03:01 +03:00
parent d86c7a8b11
commit 3b39b845de
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ Usage of /home/user/go/bin/dumbproxy:
-disable-http2 -disable-http2
disable HTTP2 disable HTTP2
-ip-hints value -ip-hints value
a comma-separated list of addresses to use on dial attempts. Example: "10.0.0.1,fe80::2,0.0.0.0,::" a comma-separated list of source addresses to use on dial attempts. Example: "10.0.0.1,fe80::2,0.0.0.0,::"
-key string -key string
key for TLS certificate key for TLS certificate
-list-ciphers -list-ciphers

View File

@ -103,7 +103,7 @@ func parse_args() CLIArgs {
args.proxy = append(args.proxy, p) args.proxy = append(args.proxy, p)
return nil return nil
}) })
flag.Func("ip-hints", "a comma-separated list of addresses to use on dial attempts. Example: \"10.0.0.1,fe80::2,0.0.0.0,::\"", func(p string) error { flag.Func("ip-hints", "a comma-separated list of source addresses to use on dial attempts. Example: \"10.0.0.1,fe80::2,0.0.0.0,::\"", func(p string) error {
list, err := parseIPList(p) list, err := parseIPList(p)
if err != nil { if err != nil {
return err return err