Skip to content

Commit

Permalink
update help command
Browse files Browse the repository at this point in the history
  • Loading branch information
ChenKangg committed Apr 13, 2024
1 parent 4ddbac3 commit 4c8b21a
Showing 1 changed file with 21 additions and 21 deletions.
42 changes: 21 additions & 21 deletions src/main/java/seedu/omnitravel/ui/Ui.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public static void printNumberTooLargeException(NumberFormatException exception)
}

/**
* Prints out all available commands
* Prints out all available commands when the help command is given as input
*/
//@@author ChenKangg
public static void helpCommand(){
Expand All @@ -80,26 +80,26 @@ public static void helpCommand(){
System.out.println("");
System.out.println(
"1. list <date> <sort>: List out the current list for given date sorted\n" +
"2. help: Get all commands for the chatbot\n" +
"3. bye: Exit the chatbot\n" +
"4. add <travel activity> <date> <duration> <tag>\n" +
"5. accommodation <travel activity> <date> <duration> <tag>\n" +
"6. food <travel activity> <date> <duration> <tag>\n" +
"7. landmark <travel activity> <date> <duration> <tag>\n" +
"8. delete <activity number>\n" +
"9. find <keyword> <exclusion>\n" +
"10. check <activity number>\n" +
"11. uncheck <activity number>\n" +
"12. tag <activity number> <tag name>\n" +
"13. untag <activity number>\n" +
"14. update <update> <date> <duration> <tag>\n" +
"15. findtag <tag name> <exclusion>\n" +
"16. findtype <type> <exclusion>\n" +
"17. listtags \n" +
"18. expense <activity number> <expense amount>\n" +
"19. removeexpense <activity number>\n" +
"20. totalexpense <type>\n" +
"21. change <amount> /from <current currency> /to <changed currency>\n");
"2. help: Get all commands for the chatbot\n" +
"3. bye: Exit the chatbot\n" +
"4. add <travel activity> <date> <duration> <tag>\n" +
"5. accommodation <travel activity> <date> <duration> <tag>\n" +
"6. food <travel activity> <date> <duration> <tag>\n" +
"7. landmark <travel activity> <date> <duration> <tag>\n" +
"8. delete <activity number>\n" +
"9. find <keyword> <exclusion>\n" +
"10. check <activity number>\n" +
"11. uncheck <activity number>\n" +
"12. tag <activity number> <tag name>\n" +
"13. untag <activity number>\n" +
"14. update <update> <date> <duration> <tag>\n" +
"15. findtag <tag name> <exclusion>\n" +
"16. findtype <type> <exclusion>\n" +
"17. listtags \n" +
"18. expense <activity number> <expense amount>\n" +
"19. removeexpense <activity number>\n" +
"20. totalexpense <type>\n" +
"21. change <amount> /from <current currency> /to <changed currency>\n");
printLine();
}

Expand Down

0 comments on commit 4c8b21a

Please sign in to comment.