From ac226bfd2848996575431869293b591965e71fb7 Mon Sep 17 00:00:00 2001 From: Jiwei99 Date: Thu, 28 Oct 2021 23:59:22 +0800 Subject: [PATCH 1/3] Minor update for UG --- docs/UserGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index e0e534aec2a..eb4647ee6a2 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -394,7 +394,7 @@ Action | Summary | Format, Examples **FindAny** | Locates persons by name and tags (Results fulfill at least one search term)| `findAny n/NAME [n/NAME] t/TAG [t/TAG]`
e.g., `findAny n/James t/NUS` **Pin** | Pins a person | `pin INDEX`
e.g., `pin 1` **Unpin** | Unpins a person | `unpin INDEX`
e.g., `unpin 1` -**Help** | Displays help information | `help [COMMAND] [/d]` +**Help** | Displays help information | `help [COMMAND]` **List** | Lists all persons | `list` **Tag** | Tags a person | `tag INDEX [t/TAG]…​`
e.g., `tag 2 t/friend t/NUS` **Untag** | Untags a person | `untag INDEX [t/TAG]…​`
e.g., `untag 2 t/colleague` From cfcd7e597a78739277a2fd92b4d0346ac1936f59 Mon Sep 17 00:00:00 2001 From: Jiwei99 Date: Fri, 29 Oct 2021 00:03:27 +0800 Subject: [PATCH 2/3] Minor UG fix --- docs/UserGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index eb4647ee6a2..05501749746 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -394,7 +394,7 @@ Action | Summary | Format, Examples **FindAny** | Locates persons by name and tags (Results fulfill at least one search term)| `findAny n/NAME [n/NAME] t/TAG [t/TAG]`
e.g., `findAny n/James t/NUS` **Pin** | Pins a person | `pin INDEX`
e.g., `pin 1` **Unpin** | Unpins a person | `unpin INDEX`
e.g., `unpin 1` -**Help** | Displays help information | `help [COMMAND]` +**Help** | Displays help information | `help [COMMAND]`
e.g., `help`, `help add`, `help more` **List** | Lists all persons | `list` **Tag** | Tags a person | `tag INDEX [t/TAG]…​`
e.g., `tag 2 t/friend t/NUS` **Untag** | Untags a person | `untag INDEX [t/TAG]…​`
e.g., `untag 2 t/colleague` From e99eb9f2b149976470aa63d535d1cb7ed5846d65 Mon Sep 17 00:00:00 2001 From: Jiwei99 Date: Fri, 29 Oct 2021 00:33:21 +0800 Subject: [PATCH 3/3] Update UG for case sensitive search --- docs/UserGuide.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 05501749746..ad518433452 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -196,7 +196,8 @@ Finds all persons whose names **and** tags matches ALL keywords provided. Notes: * `find` is case-insensitive by default. e.g. `hans` will match `Hans` - * However, users can opt for case-sensitive search by including the `c/` flag after the command word + * However, users can opt for case-sensitive search by including the `c/` flag **after** the command word. + * `c/` case-sensitive search applies **ONLY** to tags * The order of the keywords does not matter. e.g. `n/Hans t/football` will return the same result as `t/friends n/Hans` * Both name and tags are searched. @@ -225,6 +226,8 @@ Finds all persons whose names **or** tags contain ANY of the given keywords. Notes: * `findAny` is case-insensitive by default. e.g. `hans` will match `Hans` + * However, users can opt for case-sensitive search by including the `c/` flag **after** the command word. + * `c/` case-sensitive search applies **ONLY** to tags * The order of the keywords does not matter. e.g. `Hans Bo` will match `Bo Hans` * Both name and tags are searched. * Only full words will be matched e.g. `Han` will not match `Hans`