Skip to content

Commit

Permalink
Add an example to the words CLI argument
Browse files Browse the repository at this point in the history
  • Loading branch information
MicrowaveLinkAntenna committed Jan 6, 2021
1 parent 178ba47 commit bc01f62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub struct Cli {
pub max_number: u32,

#[structopt(
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."
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. Example: '3:fizz 5:buzz'"
)]
pub words: Vec<String>,
}
Expand Down

0 comments on commit bc01f62

Please sign in to comment.