Skip to content

Commit

Permalink
kvs-client cli addr is now global
Browse files Browse the repository at this point in the history
  • Loading branch information
weezy20 committed Feb 27, 2024
1 parent 70b32a9 commit a5e0cd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/kvs-client/src/client.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,5 +99,7 @@ struct Cli {
action: Action,
/// Server location
#[arg(short, long, default_value = "127.0.0.1:4000")]
// Propagate `--addr` to all subcommands
#[arg(global = true )]
addr: String,
}

0 comments on commit a5e0cd4

Please sign in to comment.