nus-cs2113-AY2425S1 / pe-dev-response

0 stars 0 forks source link

Program does not reject additional /e input #509

Open nus-pe-bot opened 1 week ago

nus-pe-bot commented 1 week ago

image.png

The first program added had no /e flag at the back, while the second one had an additional /e flag. Both were accepted as valid inputs. It is not clear what the /e does.


[original: nus-cs2113-AY2425S1/pe-interim#158] [original labels: severity.Low type.FunctionalityBug]

Atulteja commented 1 week ago

Team's Response

Thank you for pointing out this behaviour. However in the UG it is mentioned that extra parameter/flags will be ignored and the command would work as normal without throwing any error messages.

Screenshot 2024-11-17 at 2.19.07 PM.png

For the prog create command, since the user does not specify any exercise details like (reps, sets, weight, calories), the /e is recognised as an extra flag hence the command works and no error messages is displayed.

Duplicate status (if any):

--