Skip to content

Commit

Permalink
Adding find to the Ui's showValidCommands method.
Browse files Browse the repository at this point in the history
  • Loading branch information
julia-cp committed Feb 26, 2024
1 parent 1e4f77f commit 222545a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
7 changes: 2 additions & 5 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,11 @@ test {
}

application {
mainClass.set("seedu.duke.Launcher")
mainClass.set("duke.Launcher")
}

shadowJar {
archiveFileName = 'duke.jar'
archiveBaseName = "duke"
archiveClassifier = null
dependsOn("distZip", "distTar")
archiveFileName = 'blob.jar'
}

run{
Expand Down
1 change: 0 additions & 1 deletion data/storedTasks.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
D/ /CS2103T homework/2024-02-26
E/ /Competition/2024-04-01/2024-04-02
3 changes: 2 additions & 1 deletion src/main/java/duke/Ui.java
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,8 @@ public static String showEventFormat() {
public static String showValidCommands() {
return "You need to use 'todo', 'deadline' or 'event' command to add a task.\n" +
"You can use 'list' to see all of your tasks.\n" +
"Use 'mark' or 'unmark' for any of your tasks.";
"Use 'mark' or 'unmark' for any of your tasks.\n" +
"Use 'find' to find a keyword in your task list.";
}


Expand Down

0 comments on commit 222545a

Please sign in to comment.