diff --git a/cli/src/main.rs b/cli/src/main.rs index 9161cc9..93fcbc5 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -6,13 +6,14 @@ use names::{Generator, Name}; fn main() { let (naming, amount) = { - let app = clap_app!(names => - (version: &crate_version!()[..]) - (author: "\nAuthor: Fletcher Nichol \n") - (about: "A random name generator with results like `delirious-pail'.") - (@setting ColoredHelp) - (@arg amount: "Number of names to generate (default: 1)") - (@arg number: -n --number "Adds a random number to the name(s)") + let app = + clap_app!(names => + (version: &crate_version!()[..]) + (author: "\nAuthor: Fletcher Nichol \n") + (about: "A random name generator with results like `delirious-pail'.") + (@setting ColoredHelp) + (@arg amount: "Number of names to generate (default: 1)") + (@arg number: -n --number "Adds a random number to the name(s)") ); let matches = app.get_matches(); let amount = value_t!(matches.value_of("amount"), usize).unwrap_or(1);