Handle comma separated params correctly
This commit is contained in:
parent
21cf61f847
commit
7ede38f584
1 changed files with 3 additions and 2 deletions
|
@ -7,11 +7,12 @@ use structopt::StructOpt;
|
|||
#[derive(StructOpt, Debug)]
|
||||
#[structopt()]
|
||||
struct Parameters {
|
||||
#[structopt(short, long, default_value = "lemmy.ml")]
|
||||
#[structopt(short, long, use_delimiter = true, default_value = "lemmy.ml")]
|
||||
start_instances: Vec<String>,
|
||||
#[structopt(
|
||||
short,
|
||||
long,
|
||||
use_delimiter = true,
|
||||
default_value = "ds9.lemmy.ml,enterprise.lemmy.ml,voyager.lemmy.ml,test.lemmy.ml"
|
||||
)]
|
||||
exclude_instances: Vec<String>,
|
||||
|
|
Loading…
Reference in a new issue