improve wording
This commit is contained in:
parent
d86c7a8b11
commit
3b39b845de
|
@ -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
|
||||||
|
|
2
main.go
2
main.go
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue