Skip to content

Commit

Permalink
fix: alias of argument advertise_addr (risingwavelabs#7702)
Browse files Browse the repository at this point in the history
The alias of `--advertise-addr` should be `--client-address` to keep compatible with previous versions.

Approved-By: lmatz
Approved-By: huangjw806
  • Loading branch information
fuyufjh authored Feb 6, 2023
1 parent 4e9756d commit 50fc449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compute/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub struct ComputeNodeOpts {
/// This would be synonymous with the service's "public address"
/// or "identifying address".
/// Optional, we will use listen_addr if not specified.
#[clap(long, alias = "client_address", env = "RW_ADVERTISE_ADDR", long)]
#[clap(long, alias = "client-address", env = "RW_ADVERTISE_ADDR", long)]
pub advertise_addr: Option<String>,

#[clap(
Expand Down

0 comments on commit 50fc449

Please sign in to comment.