Skip to content

Commit

Permalink
Merge pull request #423 from jalil-salame/mutually-exclusive
Browse files Browse the repository at this point in the history
fix(417): Make vsock-addr and unix-socket conflict
  • Loading branch information
hatoo authored Mar 3, 2024
2 parents 126b729 + 86524a9 commit e20abb7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,13 +166,15 @@ Note: If qps is specified, burst will be ignored",
#[cfg(unix)]
#[clap(
help = "Connect to a unix socket instead of the domain in the URL. Only for non-HTTPS URLs.",
long = "unix-socket"
long = "unix-socket",
group = "socket-type"
)]
unix_socket: Option<std::path::PathBuf>,
#[cfg(feature = "vsock")]
#[clap(
help = "Connect to a VSOCK socket using 'cid:port' instead of the domain in the URL. Only for non-HTTPS URLs.",
long = "vsock-addr"
long = "vsock-addr",
group = "socket-type"
)]
vsock_addr: Option<VsockAddr>,
#[clap(
Expand Down

0 comments on commit e20abb7

Please sign in to comment.