mirror of
https://github.com/tun2proxy/tun2proxy.git
synced 2025-06-21 08:30:53 +00:00
minor changes
This commit is contained in:
parent
0128be4f1d
commit
ebe91081d4
2 changed files with 10 additions and 10 deletions
|
@ -15,15 +15,15 @@ use std::net::SocketAddr;
|
|||
#[command(author, version, about = "Tunnel interface to proxy.", long_about = None)]
|
||||
struct Args {
|
||||
/// Name of the tun interface
|
||||
#[arg(short, long)]
|
||||
#[arg(short, long, value_name = "name")]
|
||||
tun: String,
|
||||
|
||||
/// What proxy type to run
|
||||
#[arg(short, long = "proxy", value_enum)]
|
||||
#[arg(short, long = "proxy", value_name = "type", value_enum)]
|
||||
proxy_type: ProxyType,
|
||||
|
||||
/// Server address with format IP:PORT
|
||||
#[clap(short, long)]
|
||||
/// Server address with format ip:port
|
||||
#[clap(short, long, value_name = "ip:port")]
|
||||
addr: SocketAddr,
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue