Skip to content

Commit

Permalink
fix(fetch): set default values for postalcode and admin options
Browse files Browse the repository at this point in the history
  • Loading branch information
Joxit committed Jan 24, 2024
1 parent 04e2fb7 commit 62f24ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/commands/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ pub struct Fetch {
#[arg(short = 'o', long = "out", default_value = ".")]
pub out: String,
/// Should download postalcodes repositories
#[arg(long = "postalcode", value_parser = PossibleValuesParser::new(&["true", "false"]))]
#[arg(long = "postalcode", default_value = "false")]
pub postalcode: Option<bool>,
/// Should download admin repositories, default true
#[arg(long = "admin", value_parser =PossibleValuesParser::new( &["true", "false"]))]
#[arg(long = "admin", default_value = "true")]
pub admin: Option<bool>,
/// Two letters country code to download. No values will download all repositories.
pub countries: Vec<String>,
Expand Down

0 comments on commit 62f24ff

Please sign in to comment.