From a1f2acfe706ba4be201dbe8801b12174808d770e Mon Sep 17 00:00:00 2001 From: Volodymyr Patuta <6977238-fiplox@users.noreply.gitlab.com> Date: Mon, 30 Nov 2020 08:42:46 +0100 Subject: [PATCH] search from date/category --- README.md | 4 +++- src/rnote/app.rs | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index fc933f8..f9713d5 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,8 @@ Example: - [x] Delete a note - [x] Modify a note - [x] Show all notes in a scrollable TextView in a raw terminal with [termimad](https://crates.io/crates/termimad) -- [ ] Show all notes from `DATE` or `Category` +- [x] Show all notes from `DATE` or `Category` - [x] Search a note by header - [x] Search a note by word (kinda grep) +- [ ] List all notes +- [ ] List all notes from a `Category` diff --git a/src/rnote/app.rs b/src/rnote/app.rs index e267de4..f9584c0 100644 --- a/src/rnote/app.rs +++ b/src/rnote/app.rs @@ -70,9 +70,7 @@ pub fn make_app() -> App<'static, 'static> { Arg::with_name("category") .help("Show all notes from a category/date") .short("c") - .short("d") - .long("category") - .long("date"), + .long("category"), ) .arg(Arg::with_name("header").help("Name of the note.")), )