Adapt README to new interface

This commit is contained in:
B. Blechschmidt 2023-03-22 12:08:07 +01:00
parent 5df3877042
commit 8dd075a7f4
2 changed files with 20 additions and 39 deletions

View file

@ -14,8 +14,8 @@ struct Args {
#[arg(short, long, value_name = "name", default_value = "tun0")]
tun: String,
/// What proxy type to run
#[arg(short, long = "proxy", value_parser = proxy_url_parser)]
/// The proxy URL in the form proto://[username[:password]@]host:port
#[arg(short, long = "proxy", value_parser = proxy_url_parser, value_name = "URL")]
proxy: ArgProxy,
}