Skip to content

Commit

Permalink
Remove short args for --to and --to_tokens because they conflict (#1015)
Browse files Browse the repository at this point in the history
  • Loading branch information
XAMPPRocky authored Sep 5, 2024
1 parent fdde430 commit c5bbe8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/cli/proxy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,12 @@ pub struct Proxy {
#[clap(short, long, env = "QUILKIN_QCMP_PORT", default_value_t = QCMP_PORT)]
pub qcmp_port: u16,
/// One or more socket addresses to forward packets to.
#[clap(short, long, env = "QUILKIN_DEST")]
#[clap(long, env = "QUILKIN_DEST")]
pub to: Vec<SocketAddr>,
/// Assigns dynamic tokens to each address in the `--to` argument
///
/// Format is `<number of unique tokens>:<length of token suffix for each packet>`
#[clap(short, long, env = "QUILKIN_DEST_TOKENS", requires("to"))]
#[clap(long, env = "QUILKIN_DEST_TOKENS", requires("to"))]
pub to_tokens: Option<String>,
/// The interval in seconds at which the relay will send a discovery request
/// to an management server after receiving no updates.
Expand Down

0 comments on commit c5bbe8a

Please sign in to comment.