CS2103-AY1819S2-T12-3 / main

MediTabs: Medicine Stock Taking Application
https://cs2103-ay1819s2-t12-3.github.io/main/
MIT License
2 stars 4 forks source link

Sort command able to input other parameters #162

Closed nus-se-bot closed 5 years ago

nus-se-bot commented 5 years ago

Describe the bug I am able to input other random text before the specified parameters

To Reproduce Type sort randomwordshere blah blah blah 123 !@#$%^ p/quantity d/ascending

Expected behavior Sort works, but I'm able to input random alphanumeric characters before the specified parameters

Screenshots Untitled

Additional context It would be good to update the parser to disallow any other words to be added before the specified parameters


Reported by: @reinsheer Severity: Low

[original: nus-cs2103-AY1819S2/pe-dry-run#281]

jtankw3 commented 5 years ago

Corrected.