Skip to content

Commit

Permalink
update error message example to show index
Browse files Browse the repository at this point in the history
  • Loading branch information
Clarenceeey committed Nov 10, 2024
1 parent 93c66f2 commit c6c7c3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class AddToConsultCommand extends Command {
+ "by the index number used in the displayed consultation list. "
+ "Parameters: INDEX (must be a positive integer) "
+ "[" + PREFIX_NAME + "NAME]… [" + PREFIX_INDEX + "INDEX]…\n"
+ "Example: " + COMMAND_WORD + " 1 n/John Doe n/Harry Ng";
+ "Example: " + COMMAND_WORD + " 1 " + PREFIX_NAME + "John Doe " + PREFIX_INDEX + "1";

public static final String MESSAGE_ADD_TO_CONSULT_SUCCESS = "Added students to the Consultation: %1$s";

Expand Down

0 comments on commit c6c7c3c

Please sign in to comment.