Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update commands shown in help window #184

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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