nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Invalid parameter is not identified #5762

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

Included an incorrect parameter h/ which was not caught by the application, and the program thinks that it is supposed to be the credits assigned for the module.

Reproduction: as per the screenshot given below Expected: unknown parameter error message

Screenshot 2021-11-12 at 4.47.56 PM.png


[original: nus-cs2103-AY2122S1/pe-interim#5741] [original labels: severity.Low type.FunctionalityBug]

jodichoo commented 2 years ago

Team's Response

We consider this an intended behaviour. h/ is not part of the valid prefixes we have specified in the user guide, therefore our application will consider it to be regular user input, and will not recognise it as a command prefix. It will thus be included as part of the argument for m/, and gives the error as shown.

Duplicate status (if any):

--