Skip to content

Commit

Permalink
Merge pull request #138 from AY2324S2-CS2103T-W12-2/brandon/fix-comma…
Browse files Browse the repository at this point in the history
…nd-format

fix: fix incorrect parameters error different from UG
  • Loading branch information
blaukc authored Apr 14, 2024
2 parents 1a2ecb6 + f1abda5 commit bd2418a
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class AddStudentModuleCommand extends Command {

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds a module to the student in the address book. "
+ "Parameters: "
+ PREFIX_STUDENT_ID + "STUDENT ID"
+ PREFIX_STUDENT_ID + "STUDENT ID "
+ PREFIX_MODULE_CODE + "MODULE CODE";

public static final String MESSAGE_SUCCESS = "New module %1$s added to student: %2$s";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ public class AddStudentModuleTimingCommand extends Command {
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Adds a module timing to the module of a student "
+ "in the address book. "
+ "Parameters: "
+ PREFIX_STUDENT_ID + "STUDENT ID"
+ PREFIX_MODULE_CODE + "MODULE CODE"
+ PREFIX_DAY + "DAY"
+ PREFIX_START_TIME + "START TIME"
+ PREFIX_STUDENT_ID + "STUDENT ID "
+ PREFIX_MODULE_CODE + "MODULE CODE "
+ PREFIX_DAY + "DAY "
+ PREFIX_START_TIME + "START TIME "
+ PREFIX_END_TIME + "END TIME";

public static final String MESSAGE_SUCCESS = "New module timing %1$s added to student: %2$s";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class DeleteStudentModuleCommand extends Command {

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Deletes a module from a student in the address book. "
+ "Parameters: "
+ PREFIX_STUDENT_ID + "STUDENT ID"
+ PREFIX_STUDENT_ID + "STUDENT ID "
+ PREFIX_MODULE_CODE + "MODULE CODE";

public static final String MESSAGE_SUCCESS = "Module %1$s deleted from student: %2$s";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,10 @@ public class DeleteStudentModuleTimingCommand extends Command {
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Deletes a module timing from the module of a student "
+ "in the address book. "
+ "Parameters: "
+ PREFIX_STUDENT_ID + "STUDENT ID"
+ PREFIX_MODULE_CODE + "MODULE CODE"
+ PREFIX_DAY + "DAY"
+ PREFIX_START_TIME + "START TIME"
+ PREFIX_STUDENT_ID + "STUDENT ID "
+ PREFIX_MODULE_CODE + "MODULE CODE "
+ PREFIX_DAY + "DAY "
+ PREFIX_START_TIME + "START TIME "
+ PREFIX_END_TIME + "END TIME";

public static final String MESSAGE_SUCCESS = "Deleted module timing %1$s from student: %2$s";
Expand Down

0 comments on commit bd2418a

Please sign in to comment.