From 70153a89c37632a70ac2824bf6ca4a0eb406a6d6 Mon Sep 17 00:00:00 2001 From: MAOXIONGKAI Date: Fri, 20 Sep 2024 17:13:06 +0800 Subject: [PATCH] Fix the issue of list command not shown in unknown command error message --- .../gopher/exception/UnknownCommandException.java | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/src/main/java/gopher/exception/UnknownCommandException.java b/src/main/java/gopher/exception/UnknownCommandException.java index 9fe255e74f..6d48b9b793 100644 --- a/src/main/java/gopher/exception/UnknownCommandException.java +++ b/src/main/java/gopher/exception/UnknownCommandException.java @@ -20,12 +20,13 @@ public String getMessage() { 1. todo - Create a ToDo Task 2. deadline - Create a Deadline Task 3. event - Create an Event Task - 4. mark - Mark tasks as done - 5. unmark - Mark tasks as not done - 6. find - Find tasks based on keywords - 7. update - Update a task with provided information - 8. delete - Delete tasks from the task list - 9. bye - Exit the chatbot + 4. list -List out all the current tasks + 5. mark - Mark tasks as done + 6. unmark - Mark tasks as not done + 7. find - Find tasks based on keywords + 8. update - Update a task with provided information + 9. delete - Delete tasks from the task list + 10. bye - Exit the chatbot Note that the command is case-insensitive, as long as the input characters match,