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
@@ -109,7 +100,6 @@ Edits an existing person in the address book.
109
100
Format: `edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [g/GROUP]…`
110
101
111
102
* Edits the person at the specified `INDEX`. The index refers to the index number shown in the displayed person list. The index **must be a positive integer** 1, 2, 3, …
112
-
* At least one of the optional fields must be provided.
113
103
* Existing values will be updated to the input values.
114
104
* When editing groups, the existing groups of the person will be removed i.e adding of groups is not cumulative.
115
105
* You can remove all the person’s groups by typing `g/` without
@@ -121,23 +111,36 @@ Examples:
121
111
122
112
### Locating persons by personName: `find`
123
113
124
-
Finds persons whose names or whose groups contain any of the given keywords.
114
+
Finds persons whose names contain any of the given keywords.
125
115
126
116
Format: `find KEYWORD [MORE_KEYWORDS]`
127
117
128
118
* The search is case-insensitive. e.g `hans` will match `Hans`
129
119
* The order of the keywords does not matter. e.g. `Hans Bo` will match `Bo Hans`
130
-
*Both the personName and group are searched.
120
+
*Only the personName are searched.
131
121
* Only full words will be matched e.g. `Han` will not match `Hans`
132
-
* Persons whose personName or group matching at least one keyword will be returned (i.e. `OR` search).
133
-
e.g. `Hans Bo` will return `Hans Gruber`, `Bo Yang`
122
+
* Persons matching at least one keyword will be returned (i.e. OR search). e.g. `Hans Bo` will return `Hans Gruber`, `Bo Yang`
134
123
135
124
Examples:
136
125
*`find John` returns `john` and `John Doe`
137
-
*`find badminton` returns the list of contacts that are in the badminton group
138
126
*`find alex david` returns `Alex Yeoh`, `David Li`<br>
139
127

140
128
129
+
### Locating persons by personName: `findg`
130
+
131
+
Finds persons whose groups contain any of the given keywords.
132
+
133
+
Format: `findg KEYWORD [MORE_KEYWORDS]`
134
+
135
+
* The search is case-insensitive. e.g `badminton` will match `Badminton`
136
+
* The order of the keywords does not matter. e.g. `findg tennis table` will list every person in the table tennis group
137
+
* Only the groups are searched.
138
+
* Only full words will be matched e.g. `badminton` will not match `badmintons`
139
+
* Persons whose group match at least one keyword will be returned (i.e. `OR` search).
140
+
141
+
Examples:
142
+
*`findg badminton` returns the list of contacts that are in the badminton group
143
+
141
144
### Deleting a person : `delete`
142
145
143
146
Deletes the specified person from the address book.
@@ -196,31 +199,52 @@ If your changes to the data file makes its format invalid, AddressBook will disc
Format: `editm INDEX n/NAME st/START TIME ed/END TIME desc/DESCRIPTION pr/PRIORITY [g/GROUP]...`
214
220
215
-
PRIORITY can be {1,2,3,4,5}
221
+
* Edits the meeting at the specified `INDEX`. The index refers to the index number shown in the displayed meeting list. The index **must be a positive integer** 1, 2, 3, …
222
+
* Existing values will be updated to the input values.
223
+
* When editing groups, the existing groups in the meeting will be removed i.e adding of groups is not cumulative.
224
+
* You can remove all the meeting’s groups by typing `g/` without specifying any groups after it.
225
+
226
+
Examples:
227
+
*`editm 1 n/CS2103 Lecture g/SOC g/friends` Edits the name of the 1st meeting to be `CS2103 Lecture`, and its groups to be `SOC` and `friends`.
228
+
*`editm 2 n/CS2106 Lab g/` Edits the name of the 2nd meeting to be `CS2106 Lab` and clears all existing groups in the meeting.
216
229
230
+
### Deleting a meeting: `deletem`
231
+
232
+
Deletes a meeting in the meeting book.
233
+
234
+
Format: `deletem INDEX`
235
+
236
+
* Deletes the meeting at the specified `INDEX`.
237
+
* The index refers to the index number shown in the displayed meeting list.
238
+
* The index **must be a positive integer** 1, 2, 3, …
217
239
218
240
Examples:
219
-
*`add n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01`
0 commit comments