diff --git a/src/rnote/app.rs b/src/rnote/app.rs index 91cb3ce..fe40cdf 100644 --- a/src/rnote/app.rs +++ b/src/rnote/app.rs @@ -54,7 +54,11 @@ pub fn make_app() -> App<'static, 'static> { .alias("l") .alias("ls") .about("List all notes or notes from a category.") - .arg(Arg::with_name("name").help("Name of the category.")) + .arg( + Arg::with_name("name") + .help("Name of the category.") + .requires("category"), + ) .arg( Arg::with_name("category") .help("List all notes from a category.")