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