Skip to content

Commit

Permalink
Merge 57a3bdf into 53cb359
Browse files Browse the repository at this point in the history
  • Loading branch information
shunde97 committed Mar 24, 2020
2 parents 53cb359 + 57a3bdf commit 243b4bb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/UserGuide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ e.g. typing *`help`* and pressing kbd:[Enter] will open the help window.
. Some example commands you can try:

* *`listStudent`* : lists all students
* **`addStudent`**`n/John Doe p/98765432 e/johnd@example.com` : adds a student named `John Doe` to TAble.
* **`addStudent`**`n/John Doe id/A0188888H e/johnd@example.com` : adds a student named `John Doe` to TAble.
* **`deleteStudent`**`3` : deletes the 3rd student shown in the current list
* *`exit`* : exits the app

Expand All @@ -60,7 +60,7 @@ Format: `help`
=== Adding a student: `add`

Adds a student to TAble +
Format: `add n/NAME id/STUDENTID e/EMAIL [t/TAG]...`
Format: `add n/NAME id/MATRIC_NUMBER e/EMAIL [t/TAG]...`

[TIP]
A person can have any number of tags (including 0)
Expand All @@ -78,7 +78,7 @@ Format: `list`
=== Editing a student : `edit`

Edits an existing student in TAble. +
Format: `edit INDEX [n/NAME] [id/STUDENTID] [e/EMAIL] [t/TAG]...`
Format: `edit INDEX [n/NAME] [id/MATRIC_NUMBER] [e/EMAIL] [t/TAG]...`

****
* 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, ...
Expand Down Expand Up @@ -552,12 +552,12 @@ _{explain how the user can enable/disable data encryption}_

== Command Summary

* *Add* `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]...` +
e.g. `add n/James Ho p/22224444 e/jamesho@example.com a/123, Clementi Rd, 1234665 t/friend t/colleague`
* *Add* `add n/NAME id/MATRIC_NUMBER e/EMAIL a/ADDRESS [t/TAG]...` +
e.g. `add n/James Ho id/A0123456X e/jamesho@example.com a/123, Clementi Rd, 1234665 t/friend t/colleague`
* *Clear* : `clear`
* *Delete* : `delete INDEX` +
e.g. `delete 3`
* *Edit* : `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG]...` +
* *Edit* : `edit INDEX [n/NAME] [id/MATRIC_NUMBER] [e/EMAIL] [a/ADDRESS] [t/TAG]...` +
e.g. `edit 2 n/James Lee e/jameslee@example.com`
* *Find* : `find KEYWORD [MORE_KEYWORDS]` +
e.g. `find James Jake`
Expand Down

0 comments on commit 243b4bb

Please sign in to comment.