Open tanjiaxian99 opened 3 years ago
Our format stated that the parameter for -ti
is a POSITIVE INTEGER. It is explicitly stated in the UG as well as the error message. Hence, using 0 for the parameter of -ti
is considered as an invalid format as 0 is not a positive integer to begin with.
Team chose [response.Rejected
]
Reason for disagreement: While we can argue on what it means to have an invalid command format
, the fact still stands that the error message is not very intuitive. Saying incorrect command format
does not exemplify to the user what is wrong with their command. Incorrect command format
can mean a typo in the flag, a typo in the command word, an invalid index, etc. This causes minor convenience to users who are still new to the command's format. This issue is also exemplified in the module's website as shown below:
As such, this issue is more of a feature flaw than a functionality bug, but it remains as a bug of low severity.
Steps to reproduce:
edit 1 -ti0 -tnDrink Milk
Expected: Error message: Invalid task index
Actual: Error message: Invalid command format