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
Format: `edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [t/TAG]…`
109
+
Format: `edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [g/GROUP]…`
110
110
111
111
* 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
112
* At least one of the optional fields must be provided.
113
113
* Existing values will be updated to the input values.
114
-
* When editing tags, the existing tags of the person will be removed i.e adding of tags is not cumulative.
115
-
* You can remove all the person’s tags by typing `t/` without
116
-
specifying any tags after it.
114
+
* When editing groups, the existing groups of the person will be removed i.e adding of groups is not cumulative.
115
+
* You can remove all the person’s groups by typing `g/` without
116
+
specifying any groups after it.
117
117
118
118
Examples:
119
119
*`edit 1 p/91234567 e/johndoe@example.com` Edits the phone number and email address of the 1st person to be `91234567` and `johndoe@example.com` respectively.
120
-
*`edit 2 n/Betsy Crower t/` Edits the name of the 2nd person to be `Betsy Crower` and clears all existing tags.
120
+
*`edit 2 n/Betsy Crower g/` Edits the name of the 2nd person to be `Betsy Crower` and clears all existing groups.
0 commit comments