From 86a85a493db93d88e1c5ad460faa0ec64f6e7405 Mon Sep 17 00:00:00 2001 From: koonweee Date: Sat, 17 Oct 2020 21:58:23 +0800 Subject: [PATCH] Update user guide --- data/data.txt | 3 ++- docs/README.md | 12 ++++++++++++ src/main/java/InvalidInputException.java | 2 +- 3 files changed, 15 insertions(+), 2 deletions(-) diff --git a/data/data.txt b/data/data.txt index a73f622e6f..fece7e51ed 100644 --- a/data/data.txt +++ b/data/data.txt @@ -1,3 +1,4 @@ D%d%false%d%flying%d%1829-12-23 -T%d%false%d%test +T%d%true%d%test E%d%false%d%test%d%2020-12-12 +D%d%false%d%test%d%2020-12-12 diff --git a/docs/README.md b/docs/README.md index e44c2bdb11..b07ee226d9 100644 --- a/docs/README.md +++ b/docs/README.md @@ -63,6 +63,18 @@ A deadline task of name `name` due by `` will be added Example of usage: `deadline CS2103 IP Submission /at <2025-10-29>` - adds a deadline task named "CS2103 IP Submission" due on 29th October 2025 to the list of tasks +### `done ` - **Mark a task as done** + +The task at the index indicated by the user will be marked as done. + +Example of usage: `done 2` + +### `delete ` - **Delete a task** + +The task at the index indicated by the user will be deleted. + +Example of usage: `delete 7` + ### `load` - **Choose a file to load/save to** Jarvis prompts the user for a .txt file to load from and save tasks to diff --git a/src/main/java/InvalidInputException.java b/src/main/java/InvalidInputException.java index 2813fb9ff0..8bbbfa7a86 100644 --- a/src/main/java/InvalidInputException.java +++ b/src/main/java/InvalidInputException.java @@ -1,5 +1,5 @@ class InvalidInputException extends DukeException { public InvalidInputException() { - super("☹ OOPS!!! I'm sorry, but I don't know what that means :-("); + super("OOPS!!! I'm sorry, but I don't know what that means :-("); } }