Skip to content

Commit c68da10

Browse files
authored
Merge pull request #47 from doyelee0313/Update-UG
Update UG
2 parents 0116eec + 9e7f03c commit c68da10

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/UserGuide.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ TutorsContactsPro is a **desktop app for tutors teaching Computer Science course
6363

6464
* `add n/John Doe p/98765432 e/[email protected] y/2 m/Computer Science tg/johndoe r/Very quiet student g/TUT04 g/LAB10 ` : Adds a student named `John Doe` to the list.
6565

66-
* `edit 1 /name John /email [email protected] /year 2 /major Computer science /tut T02 /tg` : Edits the first student on the current list.
66+
* `edit 1 p/93840823 y/3 tg/jiejfh203` : Edits the first student on the current list.
6767

6868
* `Find John` : Lists all the students with the name 'John'
6969

@@ -139,18 +139,18 @@ Examples:
139139

140140
Edits an existing student you have selected.
141141

142-
Format: `edit INDEX [name/NAME] [email/EMAIL] [year/NUMBER] [major/MAJOR] [tut/TUTORIAL_SLOT] [phone/PHONE_NUMBER] [tg/TELEGRAM_HANDLE] [rem/REMARKS]`
142+
Format: `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [y/YEAR] [m/MAJOR] [tg/TELEGRAM_HANDLE] [r/REMARK] [g/Group]`
143143

144144
* Edits the student at the specified `INDEX`. The index refers to the index number shown in the displayed student list. The index **must be a positive integer** 1, 2, 3, …​
145145
* At least one of the optional fields must be provided.
146146
* Existing values will be updated to the input values.
147147
* When editing groups, the existing groups of the student will be removed i.e adding of groups is not cumulative.
148-
* You can remove all the student’s groups by typing `t/` without
148+
* You can remove all the student’s groups by typing `g/` without
149149
specifying any groups after it.
150150

151151
Examples:
152-
* `edit 1 name/John email/[email protected]` Edits the name of the first student to `John` and email to `[email protected]` respectively.
153-
* `edit 2 name/Betty tg/` Edits the name of the 2nd student to be `Betsy` and clears her telegram handle.
152+
* `edit 1 n/John e/[email protected]` Edits the name of the first student to `John` and email to `[email protected]` respectively.
153+
* `edit 2 n/Betty tg/` Edits the name of the 2nd student to be `Betsy` and clears her telegram handle.
154154

155155
### <span id='feature-find'> Locating students by keyword: `find` <span>
156156

@@ -237,7 +237,7 @@ _Details coming soon ..._
237237
| **Help** | `help` |
238238
| **List** | `list` |
239239
| **Add** | `add n/NAME p/PHONE e/EMAIL y/YEAR m/MAJOR tg/TELEGRAM [r/REMARK] [g/Group]...` <br> e.g., `add n/John Doe p/98765432 e/[email protected] y/2 m/Computer Science tg/johndoe r/Very quiet student g/TUT04 g/LAB10 ` | |
240-
| **Edit** | `edit INDEX [name/NAME] [email/EMAIL] [year/NUMBER] [major/MAJOR] [tut/TUTORIAL_SLOT] [phone/PHONE_NUMBER] [tg/TELEGRAM_HANDLE] [rem/REMARKS]`<br> e.g., `edit 1 name/John email/[email protected]` |
240+
| **Edit** | `edit INDEX [n/NAME] [p/PHONE] [e/EMAIL] [y/NUMBER] [m/MAJOR] [tg/TELEGRAM] [r/REMARK] [g/Group]`<br> e.g., `edit 1 n/John e/[email protected]` |
241241
| **Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g.,`find john` |
242242
| **Delete** | `delete INDEX`<br> e.g., `delete 1` |
243243
| **Clear** | `clear` |

0 commit comments

Comments
 (0)