Skip to content

Commit

Permalink
Merge pull request AY2324S2-CS2103-F15-2#180 from Hwww23/fix_bug
Browse files Browse the repository at this point in the history
Update HelpMessage
  • Loading branch information
zoebelle-pang authored Apr 15, 2024
2 parents 36d9eb1 + b51e358 commit 9094a1f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/DeveloperGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@ testers are expected to do more *exploratory* testing.

1. Viewing the calendar to show monthly sessions.

1. Prerequisites: List all students using the `list` command. At least one student in the list has a datetime. If none, copy `add n/Tom Jerry p/98765432 e/tom@example.com a/tom street, block 123, #01-01 g/B+ s/Mathematics d/2024-02-03 1800` and change date to current month and year. <br>
1. Prerequisites: List all students using the `list` command. At least one student in the list has a datetime. If none, copy `add n/Tom Jerry p/98765432 e/tom@example.com a/tom street, block 123, #01-01 d/2024-02-03 1800` and change date to current month and year. <br>

1. Test case: `view` <br>
Expected: Calendar window opens and sessions show up in calendar box corresponding to information from the list.
Expand Down
2 changes: 1 addition & 1 deletion docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Format: `help`

Adds a student to the address book.

Format: `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [g/GRADE] [s/SUBJECT] [at/ATTENDANCE] [pa/PAYMENT] [nt/NOTE] [d/DATETIME] [t/TAG]…​`
Format: `add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [g/GRADE] [s/SUBJECT] [at/ATTENDANCE] [pa/PAYMENT] [nt/NOTE] [d/DATETIME]…​ [t/TAG]…​`

<div markdown="span" class="alert alert-primary">:bulb: **Tip:**
A student can have any number of tags and datetimes (including 0)
Expand Down
Binary file modified docs/images/helpMessage.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/main/java/seedu/address/ui/HelpWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ public class HelpWindow extends UiPart<Stage> {
+ " - Viewing help : 'help'\n\n"
+ " - Adding a student: 'add'\n"
+ " Usage: 'add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [g/GRADE] [s/SUBJECT] "
+ "[at/ATTENDANCE] [pa/PAYMENT] [nt/NOTE] [d/DATETIME] [t/TAG]…'\n\n"
+ "[at/ATTENDANCE] [pa/PAYMENT] [nt/NOTE] [d/DATETIME] [t/TAG]…'\n\n"
+ " - Listing all persons : 'list'\n\n"
+ " - Editing a person : 'edit'\n"
+ " Usage: 'edit INDEX [n/NAME] [p/PHONE_NUMBER] [e/EMAIL] [a/ADDRESS] [g/GRADE] [s/SUBJECT] "
+ "[at/ATTENDANCE] [pa/PAYMENT] [nt/NOTE] [d/DATETIME] [t/TAG]…'\n\n"
+ "[at/ATTENDANCE] [pa/PAYMENT] [nt/NOTE] [d/DATETIME] [t/TAG]…'\n\n"
+ " - Locating persons by name: 'find'\n"
+ " Usage: 'find KEYWORD [MORE_KEYWORDS]'\n\n"
+ " - Deleting a person : 'delete'\n"
Expand Down

0 comments on commit 9094a1f

Please sign in to comment.