From 17c4c13f42911bfe175ae605afd75a2deda6fa01 Mon Sep 17 00:00:00 2001 From: Dinoman44 Date: Thu, 7 Nov 2024 19:58:56 +0800 Subject: [PATCH] Fix grammatical errors in command help messages --- src/main/java/seedu/address/logic/Messages.java | 4 ++-- .../java/seedu/address/logic/commands/UnarchiveCommand.java | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/main/java/seedu/address/logic/Messages.java b/src/main/java/seedu/address/logic/Messages.java index 5323deb8919..79d3ed186af 100644 --- a/src/main/java/seedu/address/logic/Messages.java +++ b/src/main/java/seedu/address/logic/Messages.java @@ -19,8 +19,8 @@ public class Messages { public static final String MESSAGE_DUPLICATE_FIELDS = "Multiple values specified for the following single-valued field(s): "; public static final String MESSAGE_NOT_IN_MAIN_LIST = - "This command can only be used in the main client list!\n" - + "Use command list to navigate back to the main client list first"; + "This command can only be used in the main client list!\n" + + "Use the 'list' command to navigate back to the main client list first"; /** * Returns an error message indicating the duplicate prefixes. diff --git a/src/main/java/seedu/address/logic/commands/UnarchiveCommand.java b/src/main/java/seedu/address/logic/commands/UnarchiveCommand.java index 6b33cf6ab96..077345e02f1 100644 --- a/src/main/java/seedu/address/logic/commands/UnarchiveCommand.java +++ b/src/main/java/seedu/address/logic/commands/UnarchiveCommand.java @@ -21,10 +21,10 @@ public class UnarchiveCommand extends Command { + "by the index number used in the archived person list and adds the person back to the " + "main client list\n" + "Parameters: INDEX (must be a positive integer)\n" - + "Example: " + COMMAND_WORD + " 1 "; + + "Example: " + COMMAND_WORD + " 1"; public static final String MESSAGE_UNARCHIVE_PERSON_SUCCESS = "Unarchived Person: %1$s"; - public static final String MESSAGE_NOT_IN_ARCHIVED_LIST = "Unarchive can only be used when " - + "viewing the archived list!"; + public static final String MESSAGE_NOT_IN_ARCHIVED_LIST = + "This command can only be used when viewing the archived list!"; private final Index index; /** * Creates an UnarchiveCommand to remove the Person at the specified {@code Index} from the archived list and