You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/UserGuide.md
+17-12Lines changed: 17 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,23 +110,21 @@ Examples:
110
110
*`edit 1 p/91234567 e/[email protected]` Edits the phone number and email address of the 1st person to be `91234567` and `[email protected]` respectively.
111
111
*`edit 2 n/Betsy Crower t/` Edits the name of the 2nd person to be `Betsy Crower` and clears all existing tags.
112
112
113
-
### Locating persons by name: `find`
113
+
### Finding medical products / suppliers: `find`
114
114
115
-
Finds persons whose names contain any of the given keywords.
115
+
Finds medical products / suppliers whose information contains any of the given keywords.
116
116
117
-
Format: `find KEYWORD [MORE_KEYWORDS]`
117
+
Format: `find TYPE KEYWORD`
118
118
119
-
* The search is case-insensitive. e.g `hans` will match `Hans`
120
-
* The order of the keywords does not matter. e.g. `Hans Bo` will match `Bo Hans`
121
-
* Only the name is searched.
122
-
* Only full words will be matched e.g. `Han` will not match `Hans`
123
-
* Persons matching at least one keyword will be returned (i.e. `OR` search).
124
-
e.g. `Hans Bo` will return `Hans Gruber`, `Bo Yang`
119
+
*`TYPE` takes in either `product` / `supplier`.
120
+
*`KEYWORD` is case-insensitive.
121
+
* The search is case-insensitive.
122
+
* Searches only the name and additional information of the products and suppliers.
123
+
* Only full words will be matched e.g. `Han` will not match `Hans`.
125
124
126
125
Examples:
127
-
*`find John` returns `john` and `John Doe`
128
-
*`find alex david` returns `Alex Yeoh`, `David Li`<br>
129
-

126
+
*`find product panadol` returns all medical products containing `panadol` in its name or additional description.
127
+
*`find supplier Kent Ridge` returns all suppliers that are located in `Kent Ridge`.
130
128
131
129
### Removing a purchase order/store/product/supplier : `delete`[Coming soon]
132
130
@@ -175,4 +173,11 @@ AddressBook data are saved in the hard disk automatically after any command that
0 commit comments