AY2021S1-CS2103T-W10-2/tp

[PE-D] Not adhereing to the exact command format allows correct execution of command

Closed this issue · 1 comments

bug6.PNG

Command to replicate error:
recipes //////......

Commands with bug:

  • close recipe drawer command
  • clearing all recipes
  • listing all ingredients in fridge

If the user enters the above command, the command will be executed successfully, even though the command input does not strictly adhere to the command format stated on the user guide which is solely the word "recipes". This issue can be found for all other single word commands as well.


Labels: severity.Low type.FunctionalityBug
original: jonasngs/ped#4

double check if there are trailing stuff behind the 1 word commands eg help, exit, recipes, fridge, calories, clearF, clearR, clearC, recommend,