Skip to content

Commit

Permalink
Merge pull request #184
Browse files Browse the repository at this point in the history
Update commands shown in help window
  • Loading branch information
JJtan2002 authored Oct 28, 2024
2 parents 3de8afe + 2946f1b commit c11d200
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/main/java/seedu/address/ui/HelpWindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,21 @@ protected void updateItem(String item, boolean empty) {

ObservableList<HelpCommand> data =
FXCollections.observableArrayList(new HelpCommand("Add",
"`add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [g/GAME]… [t/TAG]…`"),
"`add n/NAME p/PHONE_NUMBER e/EMAIL a/ADDRESS [g/GAME]… [t/TAG]… [pt/TIME-TIME]…`"),
new HelpCommand("Delete", "`delete INDEX`"),
new HelpCommand("Edit", "`edit INDEX [n/NAME] [p/PHONE_NUMBER] "
+ "[e/EMAIL] [a/ADDRESS] [g/Game]… [t/TAG]…​`"),
new HelpCommand("Editgame", "`editgame INDEX g/GAME [u/USERNAME]"
+ "[e/EMAIL] [a/ADDRESS] [g/GAME]… [t/TAG]… [pt/TIME]…​`"),
new HelpCommand("EditGame", "`editgame INDEX g/GAME [u/USERNAME]"
+ " [s/SKILL_LEVEL] [r/ROLE]`"),
new HelpCommand("Find", "`find KEYWORD [MORE_KEYWORDS]` \ne.g., "
new HelpCommand("FavGame", "`favgame INDEX g/GAME`"),
new HelpCommand("UnFavGame", "`unfavgame INDEX g/GAME`"),
new HelpCommand("Find", "`find KEYWORD [MORE_KEYWORDS]…` \ne.g., "
+ "`find James Jake`"),
new HelpCommand("FindTime", "`findtime TIME-TIME [TIME-TIME]…` \ne.g., "
+ "`findtime 1700-1800 2130-2300`"),
new HelpCommand("Clear", "`clear`"),
new HelpCommand("List", "`list`"),
new HelpCommand("Undo", "`undo`"),
new HelpCommand("Help", "`help`"),
new HelpCommand("Save", "`save`"),
new HelpCommand("Load", "`load`")
Expand Down

0 comments on commit c11d200

Please sign in to comment.