Skip to content

Commit

Permalink
env name compatibility with python impl
Browse files Browse the repository at this point in the history
  • Loading branch information
kernelPanic0x committed Dec 16, 2024
1 parent 34f443c commit 4c6dfb9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,11 @@ struct CommonArgs {
action = clap::ArgAction::Append,
value_name = "tcp://HOSTNAME:PORT",
value_hint = clap::ValueHint::Url,
env = "WORMHOLE_RELAY_SERVER",
env = "WORMHOLE_RELAY_URL",
)]
relay_server: Vec<url::Url>,
/// Use a custom rendezvous server. Both sides need to use the same value in order to find each other.
#[arg(long, value_name = "ws://example.org", value_hint = clap::ValueHint::Url)]
#[arg(long, value_name = "ws://example.org", value_hint = clap::ValueHint::Url, env = "WORMHOLE_TRANSIT_HELPER")]
rendezvous_server: Option<url::Url>,
/// Disable the relay server support and force a direct connection.
#[arg(long)]
Expand Down

0 comments on commit 4c6dfb9

Please sign in to comment.