nus-cs2113-AY2021S2 / pe-dev-response

0 stars 0 forks source link

If there is whitespace between "item" and "add", it cannot detect the command. #1129

Open nus-pe-bot opened 3 years ago

nus-pe-bot commented 3 years ago

If the user were to accidentally enter more than 1 whitespace, then the command would not work which could make this product less usable for users.

image.png


[original: nus-cs2113-AY2021S2/pe-interim#1129] [original labels: severity.Medium type.FunctionalityBug]

zikunz commented 3 years ago

Team's Response

Thank you for your reply! :)

However, we are unable to accept it as a bug as it is indeed working as intended.

If you look at the UG (items add section), it is clearly shown that there is exactly one empty space between "items" and "add". image.png

Also, if you look at how the user inputs are interpreted, only leading and and trailing whitespaces will be neglected. This means all the empty spaces, if any, are not ignored and hence easyLog does not understand your command in your screenshot. image.png

If you really want to have more empty spaces, it is sadly not in the scope of easyLog v2.1 (again, as shown in the UG).

Hope you can understand how it works for easyLog v2.1.

Duplicate status (if any):

--