mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-04-20 05:49:09 +00:00
Document --setup-ip
This commit is contained in:
parent
76e0b6fe1d
commit
b12e00c0f5
2 changed files with 3 additions and 2 deletions
|
@ -72,6 +72,7 @@ Options:
|
|||
-p, --proxy <URL> Proxy URL in the form proto://[username[:password]@]host:port
|
||||
-d, --dns <method> DNS handling [default: virtual] [possible values: virtual, none]
|
||||
-s, --setup <method> Routing and system setup [possible values: auto]
|
||||
--setup-ip <IP> Public proxy IP used in routing setup
|
||||
-h, --help Print help
|
||||
-V, --version Print version
|
||||
```
|
||||
|
|
|
@ -33,8 +33,8 @@ struct Args {
|
|||
#[arg(short, long, value_name = "method", value_enum)]
|
||||
setup: Option<ArgSetup>,
|
||||
|
||||
/// Proxy IP as used in routing setup
|
||||
#[arg(long, value_name = "ip")]
|
||||
/// Public proxy IP used in routing setup
|
||||
#[arg(long, value_name = "IP")]
|
||||
setup_ip: Option<IpAddr>,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue