When attempting to add/edit/delete a note to a contact with name "John" when there are two such contacts in the Address Book, the following error message is thrown:
Multiple contact match the name "John".
The displayed list has been filtered based on the name "John".
Please specify an index for the correct person.
Expected Output
Perhaps a clearer error message could be shown, that informs the user that he has to re-input the entire command, this time passing in an index instead of a name. When I first read the error message, I wasn't sure how to input the index, and I thought you simply had to add the new index after the name.
Actual Output
When attempting to add/edit/delete a note to a contact with name "John" when there are two such contacts in the Address Book, the following error message is thrown:
Expected Output
Perhaps a clearer error message could be shown, that informs the user that he has to re-input the entire command, this time passing in an index instead of a name. When I first read the error message, I wasn't sure how to input the index, and I thought you simply had to add the new index after the name.
Steps to Reproduce
notes del/John
Screenshots