diff --git a/src/main/java/seedu/address/logic/commands/MarkAttCommand.java b/src/main/java/seedu/address/logic/commands/MarkAttCommand.java index ab74f4b3be2..115f189be9f 100644 --- a/src/main/java/seedu/address/logic/commands/MarkAttCommand.java +++ b/src/main/java/seedu/address/logic/commands/MarkAttCommand.java @@ -19,8 +19,8 @@ public class MarkAttCommand extends Command { public static final String COMMAND_WORD = "markatt"; - public static final String MESSAGE_SUCCESS = "Attendance marked: \n%1$s - present"; - public static final String MESSAGE_ALL_SUCCESS = "Attendance of all students marked!"; + public static final String MESSAGE_SUCCESS = "%s: \nAttendance - present"; + public static final String MESSAGE_ALL_SUCCESS = "Attendance of all students marked present!"; public static final String MESSAGE_USAGE = COMMAND_WORD + ": Marks the attendance of all students / a student in a class. \n" diff --git a/src/main/java/seedu/address/logic/commands/UnmarkAttCommand.java b/src/main/java/seedu/address/logic/commands/UnmarkAttCommand.java index b7acf694d84..f62e66ff1d4 100644 --- a/src/main/java/seedu/address/logic/commands/UnmarkAttCommand.java +++ b/src/main/java/seedu/address/logic/commands/UnmarkAttCommand.java @@ -14,7 +14,7 @@ public class UnmarkAttCommand extends Command { public static final String COMMAND_WORD = "unmarkatt"; - public static final String MESSAGE_SUCCESS = "Attendance unmarked: \n%1$s - absent"; + public static final String MESSAGE_SUCCESS = "%s: \nAttendance - absent"; public static final String MESSAGE_USAGE = COMMAND_WORD + ": Unmarks the attendance of a student in a class. \n"