Skip to content

Commit

Permalink
Updated User Guide
Browse files Browse the repository at this point in the history
Updated User Guide with help command guide.
Also added more personality to Duke.
  • Loading branch information
gachia committed Sep 16, 2019
1 parent f497440 commit 553482c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/data/help.txt
Original file line number Diff line number Diff line change
@@ -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 <task name>
(saves a default To-Do task)
- deadline <task name> /by <date and time in D/MM/YYYY HHmm>
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/Ui.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 553482c

Please sign in to comment.