Skip to content

Commit

Permalink
Remove CLI default arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrowaveLinkAntenna committed Jan 6, 2021
1 parent ae17ac1 commit 178ba47
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ use structopt::StructOpt;
#[derive(Debug, StructOpt)]
#[structopt(name = "xfizzbuzz", about = "An extensible fizzbuzz implementation.")]
pub struct Cli {
#[structopt(default_value = "15", help = "The maximum number to count to.")]
#[structopt(help = "The maximum number to count to.")]
pub max_number: u32,

#[structopt(
default_value = "3:fizz 5:buzz",
help = "The words to replace the number with when it is a multiple of a number, formatted as a space-separated list of '<number>:<word>'. The order of the words specified in the arguments will be the order the words are placed if a number is qualified for more than one word."
)]
pub words: Vec<String>,
Expand Down

0 comments on commit 178ba47

Please sign in to comment.