Skip to content

Commit

Permalink
Merge pull request #123 from whitesnowx/updateAvailabilityUserGuide
Browse files Browse the repository at this point in the history
Update Availability examples in UserGuide
  • Loading branch information
Pluiexo authored Mar 23, 2024
2 parents 7fe7f7c + 1c5fa4e commit eb9f6bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ A person can have any number of tags and availabilities (including 0)

Examples:
* `add n/John Doe p/98765432 e/[email protected] f/Computing v/John street, block 123, #01-01 m/CS2103`
* `add n/Betsy Crowe t/friend m/CS2103T e/[email protected] f/Computing v/Newgate Prison p/1234567 t/criminal a/monday a/wednesday`
* `add n/Betsy Crowe t/friend m/CS2103T e/[email protected] f/Computing v/Newgate Prison p/1234567 t/criminal a/monday 11:00 12:00 a/wednesday 14:00 16:00`

### Listing all persons : `list`

Expand Down Expand Up @@ -158,7 +158,7 @@ Sorts the list of persons based on specified attribute.

Format: `sort [ATTRIBUTE]`

* By default, sorting is done in alphabetical order.
* By default, sorting is done in alphanumeric order.
* The order of character priority would be letters (A-Z), numbers (0-9), special characters (!@#$%^&*).
* The capitalisation of the letters do not affect their priority such that `Aaron` will have same priority as `aaron`.
* For attribute with exact same values, the tie-breaker is determined by their added order.
Expand Down Expand Up @@ -261,7 +261,7 @@ Furthermore, certain edits can cause the StaffConnect to behave in unexpected wa

Action | Format, Examples
--------|------------------
**Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL m/MODULE f/FACULTY v/VENUE [t/TAG]…​ [a/AVAILABILITY]…​` <br> e.g., `add n/James Ho p/22224444 e/[email protected] m/CS2103 f/Computing v/123, Clementi Rd, 1234665 t/friend t/colleague a/monday`
**Add** | `add n/NAME p/PHONE_NUMBER e/EMAIL m/MODULE f/FACULTY v/VENUE [t/TAG]…​ [a/AVAILABILITY]…​` <br> e.g., `add n/James Ho p/22224444 e/[email protected] m/CS2103 f/Computing v/123, Clementi Rd, 1234665 t/friend t/colleague a/monday 14:00 16:00`
**Clear** | `clear`
**Delete** | `delete INDEX`<br> e.g., `delete 3`
**Edit** | `edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [m/MODULE] [f/FACULTY] [v/VENUE] [t/TAG]…​ [a/AVAILABILITY]…​`<br> e.g.,`edit 2 n/James Lee e/[email protected]`
Expand Down

0 comments on commit eb9f6bc

Please sign in to comment.