Document --setup-ip

This commit is contained in:
B. Blechschmidt 2023-03-26 11:07:06 +02:00
parent 76e0b6fe1d
commit b12e00c0f5
2 changed files with 3 additions and 2 deletions

View file

@ -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
```

View file

@ -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>,
}