Skip to content

Commit

Permalink
Add findgame to commandpopup
Browse files Browse the repository at this point in the history
  • Loading branch information
JJtan2002 committed Nov 7, 2024
1 parent e498b08 commit 4d1c9da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ private String getDetailForCommand(String command) {
case "favgame" -> "favgame INDEX g/GAME";
case "unfavgame" -> "unfavgame INDEX g/GAME";
case "find" -> "find KEYWORD [MORE_KEYWORDS] - Finds persons whose names contain any of the keywords";
case "findgame" -> "find KEYWORD [MORE_KEYWORDS] - Finds persons whose games contain any of the keywords";
case "findtime" -> "find HHmm-HHmm [HHmm-HHmm]";
case "delete" -> "delete INDEX - Deletes the specified person (e.g., delete 3)";
case "clear" -> "clear - Clears all entries from the gamer address book";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ public static SortedSet<String> commands() {
commandSet.add("favgame");
commandSet.add("unfavgame");
commandSet.add("find");
commandSet.add("findgame");
commandSet.add("findtime");
commandSet.add("delete");
commandSet.add("clear");
Expand Down

0 comments on commit 4d1c9da

Please sign in to comment.