typo in help

This commit is contained in:
Sebastian Hugentobler 2019-01-28 14:24:51 +01:00
parent 45de9713e9
commit 782fff9ac8
2 changed files with 21 additions and 40 deletions

View file

@ -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;
}
};