Skip to content

Commit

Permalink
change command names
Browse files Browse the repository at this point in the history
  • Loading branch information
Kappaccinoh committed Mar 29, 2024
1 parent 22e8046 commit 014a9c2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*/
public class QueryDoctorAppointmentCommand extends Command {

public static final String COMMAND_WORD = "appfordoctor";
public static final String COMMAND_WORD = "apptfordoctor";
private static final Logger logger = Logger.getLogger(QueryDoctorAppointmentCommand.class.getName());

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all appointments of doctors whose "
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
public class QueryDoctorCommand extends Command {

public static final String COMMAND_WORD = "querydoctor";
public static final String COMMAND_WORD = "doctor";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all doctors whose names contain any of "
+ "the specified keywords (case-insensitive) and displays them as a list with index numbers.\n"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
public class QueryPatientCommand extends Command {

public static final String COMMAND_WORD = "querypatient";
public static final String COMMAND_WORD = "patient";

public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all patients whose names contain any of "
+ "the specified keywords (case-insensitive) and displays them as a list with index numbers.\n"
Expand Down

0 comments on commit 014a9c2

Please sign in to comment.