yxtan02 / ped

0 stars 0 forks source link

Mistakes/Syntax issues in error message for unlink command. #7

Open yxtan02 opened 6 days ago

yxtan02 commented 6 days ago

When entering an invalid unlink command, the following error message is shown: image.png

The error message states that the format for the unlink command is “unlink OWNER_INDEX [t/PET_INDEX]...” This is inconsistent with the format stated in the user guide where there is an “o” before the OWNER_INDEX. Also the error message puts t/PET_INDEX within square brackets, which should not be the case as t/PET_INDEX] is not optional

Suggestion: Edit the error message to be consistent with the format stated in the UG: image.png

Steps to reproduce:

  1. Enter "unlink"

Expected: An error message that states that the correct format should be "unlink oOWNER_INDEX t/pPET_INDEX…"

Actual: An error message with syntax differing from the UG