parnikkapore / pe

0 stars 0 forks source link

Wrong error message for list\ #9

Open parnikkapore opened 1 year ago

parnikkapore commented 1 year ago

Reproduction instructions

list\

Expected

Unknown command

Actual

Invalid command format! 
help: Shows program usage instructions.
Example: help
nus-se-bot commented 1 year ago

Team's Response

It is indeed an invalid command format. list list list list 123 would have been accepted as they do follow the command format, as the invalid parameters after list would simply be ignored as the parser will only read list, but not when its list\ as it does not conform to the format of our commands specified in our UG or the application.

In fact, our error message is even more specific as we showed a help page to our UG with all the available commands, the prefix required (if any) and its format.

image.png

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: Ah, I understand now! I thought that the program misinterpreted the input as a help with the wrong parameters. Perhaps change the text to something like this (i.e a FeatureFlaw)?

Invalid command format!
Use the "help" command to show usage instructions.