forked from nus-cs2103-AY2122S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update filter and search command usage in userguide
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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. | ||
|
@@ -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` | - | |