Skip to content

Commit

Permalink
Merge pull request #154 from ngnigel99/branch-food-UG-updates
Browse files Browse the repository at this point in the history
Correct syntax for module
  • Loading branch information
ngnigel99 authored Oct 27, 2021
2 parents 041c28d + 928caee commit a6c068b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public class AddModuleCommand extends Command {
* Class constructor providing syntax for the HelpCommand.
*/
public AddModuleCommand() {
syntax = "module add c/ [MODULE_CODE] n/ [MODULE_NAME] e/ [EXPECTED_GRADE]";
syntax = "module add c/ [MODULE_CODE] n/ [MODULE_NAME] mc/ [MODULAR_CREDITS] e/ [EXPECTED_GRADE]";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class CapEditInfoCommand extends Command {

public CapEditInfoCommand() {
helpMessage = "Get user's information to calculate expected CAP";
syntax = "module info";
syntax = "cap edit";
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class GetExpectedCapCommand extends Command {
*/
public GetExpectedCapCommand() {
this.helpMessage = "Get the expected CAP";
this.syntax = "module cap";
this.syntax = "cap expected";
}

/**
Expand Down
6 changes: 3 additions & 3 deletions src/main/java/seedu/duke/constants/CommandConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,15 @@ public class CommandConstants {
+
"\tAdd Lecture : calendar lecture m/ [MODULE_CODE] s/ [DD-MM-YYYY(START_DATE)] e/ [DD-MM-YYYY(END_DATE)]\n"
+
"\tAdd Module : module add c/ [MODULE_CODE] n/ [MODULE_NAME] e/ [EXPECTED_GRADE]\n"
"\tAdd Module : module add c/ [MODULE_CODE] n/ [MODULE_NAME] mc/ [MODULAR CREDITS] e/ [EXPECTED_GRADE]\n"
+
"\tAdd Note : journal notebook n/ [NOTEBOOK_NAME]\n"
+
"\tAdd Todo : calendar todo n/ [TASK_NAME] d/ [DD-MM-YYYY]\n"
+
"\tAdd Zoom : zoom add [MODULE_CODE] [ZOOM_LINK]\n"
+
"\tCap Edit Info : module info\n"
"\tCap Edit Info : cap edit\n"
+
"\tClear Food : food clear\n"
+
Expand All @@ -79,7 +79,7 @@ public class CommandConstants {
+
"\tFind Notebooks By Tag : journal find [TAG_NAME]\n"
+
"\tGet Expected Cap : module cap\n"
"\tGet Expected Cap : cap expected\n"
+
"\tList Food : food list\n"
+
Expand Down

0 comments on commit a6c068b

Please # to comment.