Skip to content

Commit

Permalink
Update error message for FindByContactCommand
Browse files Browse the repository at this point in the history
Make the error message more appropriate for contact numbers
  • Loading branch information
KrashKart committed Oct 10, 2024
1 parent e3f5738 commit 2c0ea77
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class FindByContactCommand extends AbstractFindCommand {
public static final String MESSAGE_USAGE = COMMAND_WORD + ": Finds all persons whose contact numbers "
+ "contain any of the specified keywords (case-insensitive) and displays them as a list with indices.\n"
+ "Parameters: KEYWORD [MORE_KEYWORDS]...\n"
+ "Example: " + COMMAND_WORD + " alice bob charlie";
+ "Example: " + COMMAND_WORD + " 91112345 999 995";
public FindByContactCommand(ContactContainsKeywordsPredicate predicate) {
super(predicate);
}
Expand Down

0 comments on commit 2c0ea77

Please sign in to comment.