yxtan02 / ped

0 stars 0 forks source link

Mistakes/Syntax issues in error message for link command. #6

Open yxtan02 opened 6 days ago

yxtan02 commented 6 days ago

When entering an invalid link command such as "link", the following error message is shown: image.png

The error message states that the format for the link command is “link 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 "link"

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

Actual: An error message with syntax differing from the UG