Skip to content

Commit

Permalink
Adds a CLI flag to set the cluster name
Browse files Browse the repository at this point in the history
  • Loading branch information
fhaynes committed Oct 20, 2018
1 parent 0342e08 commit 1b9127a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/bin/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,13 @@ pub fn runner() -> i32 {
.takes_value(true)
.default_value("8500"),
)
.arg(
Arg::with_name("cluster-name")
.short("cn")
.long("cluster-name")
.takes_value(true)
.default_value("default"),
)
.get_matches();

let settings = if options.is_present("config") {
Expand Down

0 comments on commit 1b9127a

Please sign in to comment.