Skip to content

Commit

Permalink
Merge pull request #192 from Dinoman44/master
Browse files Browse the repository at this point in the history
Fix grammatical errors in command help messages
  • Loading branch information
JunLongling authored Nov 7, 2024
2 parents 394028d + 17c4c13 commit 0329eb3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/main/java/seedu/address/logic/Messages.java
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0329eb3

Please sign in to comment.