Browse Source

Document --setup-ip

pull/19/head
B. Blechschmidt 3 years ago
parent
commit
b12e00c0f5
  1. 1
      README.md
  2. 4
      src/main.rs

1
README.md

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

4
src/main.rs

@ -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…
Cancel
Save