Skip to content

Commit

Permalink
Merge pull request nus-cs2103-AY2021S1#77 from xinyee20/Attendance_XY
Browse files Browse the repository at this point in the history
Change message shown when attendance is marked/unmarked
  • Loading branch information
chunyongg authored Oct 12, 2020
2 parents dd30c3f + b8fef16 commit 8dd827a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 8dd827a

Please sign in to comment.