Skip to content

Commit

Permalink
Update filter and search command usage in userguide
Browse files Browse the repository at this point in the history
  • Loading branch information
wyrchris committed Oct 14, 2021
1 parent d9f6e51 commit 2b07eb4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ Finds clients whose contacts match with the given keywords.

Format: `search [KEYWORD]... [<attribute>/{ATTRIBUTE_KEYWORD}]...`

* `KEYWORD` and `MORE_KEYWORDS` will be used to match with all attribute of the person.
* `KEYWORD` will be used to match with all attribute of the person.
* `<attribute>/` refers to the argument tag for the client's attribute.
* `{ATTRIBUTE_KEYWORD}` refers to the keyword that is to be matched with the corresponding client attribute.
* If no `KEYWORD` is provided, search will be based on `<attribute>/{ATTRIBUTE_KEYWORD}` only.
Expand Down Expand Up @@ -256,6 +256,6 @@ Action | Format | Examples
**Edit** | `update {CLIENT'S ID} <attribute>/{CHANGED VALUE OF ATTRIBUTE} ...` | update 1234 n/Dominic p/12345678 |
**List** | `list` | - |
**Search** | `search [KEYWORD]... [<attribute>/{ATTRIBUTE_KEYWORD}]...` | search * e/[email protected] r/5 |
**Filter** | `filter KEYWORD [MORE KEYWORDS]... [<attribute>/{ATTRIBUTE_KEYWORD}]...` | search * e/[email protected] p/9 |
**Filter** | `filter [KEYWORD]... [<attribute>/{ATTRIBUTE_KEYWORD}]...` | filter * e/[email protected] p/9 |
**Sort** | `sort <attribute>/{ASC/DESC}` | sort r/asc |
**Exit** | `exit` | - |

0 comments on commit 2b07eb4

Please sign in to comment.