diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 1cd18fbafa5..6eb2f3ac563 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -103,7 +103,7 @@ Examples: * `addstu n/John Doe p/98765432 e/johnd@example.com nn/e1234567 a/John street, block 123, #01-01` * `add n/Betsy nn/e01234567 Crowe t/friend e/betsycrowe@example.com a/Newgate Prison p/1234567 t/criminal` -### Listing all persons : `list` +### Listing all students : `list` Shows a list of all persons in the address book. @@ -128,7 +128,7 @@ Examples: * `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. * `edit 2 n/Betsy Crower t/` Edits the name of the 2nd person to be `Betsy Crower` and clears all existing tags. -### Locating persons by name: `find` +### Locating students by name: `find` Finds persons whose names contain any of the given keywords. @@ -146,7 +146,17 @@ Examples: * `find alex david` returns `Alex Yeoh`, `David Li`
![result for 'find alex david'](images/findAlexDavidResult.png) -### Deleting a person : `delete` + +### Marking a student's attendance for a given week by their NUSNet: `mark` + +Marks a student's attendance for a particular week. + +Format: `mark nn/NUSNET_ID wk/WEEK_NUMBER` + +Example: +* `mark nn/e1234567 wk/3` + +### Deleting a student : `delete` Deletes the specified person from the address book.