Skip to content

Commit 87daaee

Browse files
authored
Merge pull request nus-cs2103-AY2021S2#32 from jellymias/master
Update UG Add and Delete Assignments
2 parents 0ee2b80 + 95bc8cd commit 87daaee

1 file changed

Lines changed: 25 additions & 15 deletions

File tree

docs/UserGuide.md

Lines changed: 25 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,12 @@ all the [features](#features) in the RemindMe app. You can also access the produ
1313
* **[Start-up](#Start-up)**
1414
* **[Features](#features)**
1515
* **[1. Show help page : `help`]()**
16-
* **[2. Add an event/examination]()**
17-
* **[3. Add an event/examination]()**
18-
* **[4. Delete an event/examination]()**
19-
* **[5. Edit a task]()**
20-
* **[6. Delete a task]()**
21-
* **[7. Calendar View]()**
22-
* **[8. Pop-up Reminder]()**
16+
* **[2. Add an event/examination: `event/deadline (DESCRIPTION) (DD/MM/YYYY TIME)`]()**
17+
* **[3. Delete an event/examination: `delete (INDEX)`]()**
18+
* **[4. Edit a task]()**
19+
* **[5. Delete a task]()**
20+
* **[6. Calendar View]()**
21+
* **[7. Pop-up Reminder]()**
2322
* **[Glossary](#glossary)**
2423
* **[Command summary](#command-summary)**
2524

@@ -100,19 +99,30 @@ Shows a message explaning how to access the help page.
10099
Format: `help`
101100

102101

103-
### Adding a person: `add`
102+
### Adding an Assignment/Event: `event/deadline`
104103

105-
Adds a person to the address book.
104+
Adds an assignment with a deadline or event to the calendar.
106105

107-
Format: `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [t/TAG]…​`
106+
Format:
108107

109-
<div markdown="span" class="alert alert-primary">:bulb: **Tip:**
110-
A person can have any number of tags (including 0)
111-
</div>
108+
* `event (DESCRIPTION) /from (DD/MM/YYYY TIME) /to (DD/MM/YYYY TIME)`
109+
110+
* `deadline (DESCRIPTION) /by (DD/MM/YYYY TIME)`
111+
112+
Examples:
113+
* `event Christmas Party /from 25/12/2021 1800 /to 25/12/2021 2300`
114+
* `deadline CS2103 Assignment /by 03/03/2021 2359`
115+
116+
### Deleting an Assignment/Event: `delete`
117+
118+
Deletes an assignment with a deadline or event from the calendar.
119+
120+
Format:
121+
122+
* `delete /from (DD/MM/YYYY) /index (INDEX)`
112123

113124
Examples:
114-
* `add n/John Doe p/98765432 e/johnd@example.com a/John street, block 123, #01-01`
115-
* `add n/Betsy Crowe t/friend e/betsycrowe@example.com a/Newgate Prison p/1234567 t/criminal`
125+
* `delete /from 25/12/2021 /index 1`
116126

117127
### Listing all persons : `list`
118128

0 commit comments

Comments
 (0)