forked from nus-cs2103-AY2324S2/tp
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from whitesnowx/updateAvailabilityUserGuide
Update Availability examples in UserGuide
- Loading branch information
Showing
1 changed file
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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` | ||
|
||
|
@@ -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. | ||
|
@@ -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]` | ||
|