From c6c7c3c21ee0c58f60a7d866b57d0106b9e527f7 Mon Sep 17 00:00:00 2001 From: Clarenceeey Date: Sun, 10 Nov 2024 16:34:53 +0800 Subject: [PATCH] update error message example to show index --- .../logic/commands/consultation/AddToConsultCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/seedu/address/logic/commands/consultation/AddToConsultCommand.java b/src/main/java/seedu/address/logic/commands/consultation/AddToConsultCommand.java index 8a9391337d1..51f0426429d 100644 --- a/src/main/java/seedu/address/logic/commands/consultation/AddToConsultCommand.java +++ b/src/main/java/seedu/address/logic/commands/consultation/AddToConsultCommand.java @@ -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";