kangqiao322 / pe

0 stars 0 forks source link

Invalid command for help does not show proper error message #4

Open kangqiao322 opened 1 year ago

kangqiao322 commented 1 year ago

image.png

When an invalid command word is given for help command, the command format is correct but is just with an invalid command type, which can be confusing to the user.

Perhaps the warning can more specific to warn the user that an invalid command has been input.

Steps to reproduce error : Step 1: type "help exs"

soc-se-bot commented 1 year ago

Team's Response

The help command must be standalone or followed by an existing command. exs is not an existing command. Even in the error message displayed in the feedback box, it is mentioned that you can use "help" to view all existing commands.

Items for the Tester to Verify

:question: Issue response

Team chose [response.Rejected]

Reason for disagreement: There is no warning telling the user that the [command] behind help must be an existing command despite the format being correct, the error message in the feedback box is only for the help format, not the help [command] format. If the user wishes to use the help [command] format and inputs a wrong [command], there is no warning to tell him he has accidentally used a wrong [command], which can prove to be a hindrance and is thus a feature flaw of low severity.