From 553482c31a2db9c6ce6d0b6e349d67da71ddb4aa Mon Sep 17 00:00:00 2001 From: gachia Date: Mon, 16 Sep 2019 23:57:41 +0800 Subject: [PATCH] Updated User Guide Updated User Guide with help command guide. Also added more personality to Duke. --- docs/README.md | 8 ++++++++ src/main/data/help.txt | 2 +- src/main/java/Ui.java | 4 ++-- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs/README.md b/docs/README.md index b057e38c53..d0b0c6c9da 100644 --- a/docs/README.md +++ b/docs/README.md @@ -112,6 +112,14 @@ Here are the tasks in your list: 2. [D][✓] example 2 (by: 15 September 2018, 12:39PM) ``` +### `help` - Displays a help message + +Ask Duke for the list of commands you can use if you are forgetful or new to the system. + +Example of usage: + +`help` + ### `exit` - Closes the chat bot Say goodbye to Duke as it goes to sleep. The application window does not diff --git a/src/main/data/help.txt b/src/main/data/help.txt index c0b524a2b3..43b5e841f9 100644 --- a/src/main/data/help.txt +++ b/src/main/data/help.txt @@ -1,4 +1,4 @@ -Here are the list of commands that you can use: +Woooof! Here are the list of commands that you can use: - todo (saves a default To-Do task) - deadline /by diff --git a/src/main/java/Ui.java b/src/main/java/Ui.java index 4802ee8056..e3e4a021f8 100644 --- a/src/main/java/Ui.java +++ b/src/main/java/Ui.java @@ -32,8 +32,8 @@ public String showWelcome() { + "| |_| | |_| | < __/\n" + "|____/ \\__,_|_|\\_\\___|\n"; */ - final String startMessage = "Hello! I'm Duke, Your Task Assistant Dog.\n" - + "What can I do for you?\n" + "If you need help, type help in the field."; + final String startMessage = "Bark Bark! I'm Duke, Your Task Assistant Dog.\n" + + "What can I do for you?\n" + "If you need help, type 'help' in the field."; return startMessage; }