Open nus-pe-bot opened 1 week ago
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.
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.
--
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]