diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 4ad1123..6feebea 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + @@ -14,32 +14,11 @@ - + - - - - - - - - - - - - - - - - - - - - - - - + + @@ -95,8 +74,8 @@ @@ -353,27 +332,27 @@ - - - - + + + + + + + - - + + - - - - - - - + + + + diff --git a/src/main.rs b/src/main.rs index c081bcf..0e9192f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -51,7 +51,7 @@ fn main() { .short("i") .long("id") .value_name("ID") - .help("Id of the book to download. Copy the last to url parts on the overview page to get it (for example bbb/0003).") + .help("Id of the book to download. Copy the last two url parts on the overview page to get it (for example bbb/0003).") .takes_value(true), ) .setting(AppSettings::ArgRequiredElseHelp); @@ -67,6 +67,8 @@ fn main() { println!("ID is a required argument:"); println!(); app.clone().print_help().ok(); + println!(); + return; } };