Open andreusxcarvalho opened 1 week ago
[IMPORTANT!: Please do not edit or reply to this comment using the GitHub UI. You can respond to it using CATcher during the next phase of the PE]
This outcome is intended.
Because the incorrect "recurring" flag was used, the program registers the command as a command for normal expenses. So the execution of the command still proceeded correctly.
While it is reasonable to have handlings for flag misspellings, it would be infeasible implementation-wise (because there are many ways the user can make a mistake). Therefore, even if this is a needed feature, it would fall under NotInScope anyway.
This is also in line with other command line interfaces: https://github.com/AY2425S1-CS2113-W12-3/tp/issues/167
Team chose [response.NotInScope
]
Reason for disagreement: [replace this with your reason]
Expected: Please use the correct format : delete INDEX Actual: Command still goes through despite extra text entered after index
For some reason, if the user enters the flag wrongly (/r or /recurring instead of /recur), the app goes ahead and delete the NORMAL entry, when the user intended to delete the recurring one. So it would be good to handle the edge case for when the flag is misspelled.