diff --git a/README.md b/README.md index 06924a3..06518b2 100644 --- a/README.md +++ b/README.md @@ -100,7 +100,7 @@ $ rnote list --category It will prompt you to enter category name. ### Remove notes -`rnote remove` can be simplified by `rnote r`.\ +`rnote remove` can be simplified by `rnote r` or `rnote rm`.\ To delete a note, you can simply type: ``` $ rnote remove diff --git a/src/rnote/app.rs b/src/rnote/app.rs index 917d81e..b98ad42 100644 --- a/src/rnote/app.rs +++ b/src/rnote/app.rs @@ -25,6 +25,7 @@ pub fn make_app() -> App<'static, 'static> { .subcommand( SubCommand::with_name("remove") .alias("r") + .alias("rm") .about("Remove a note.") .arg(Arg::with_name("header").help("Name of the note.")) .arg(