Command Series:
add -n John Doe -p 98765432 -e johnd@example.com -c Google -j Software Engineer -a 311, Clementi Ave 2, #02-25 -r University friend -t friends -t owesMoney
add -n John -p 98765432 -e johnd@example.com -c Google -j Software Engineer -a 311, Clementi Ave 2, #02-25 -r University friend -t friends -t owesMoney
find -n
Explaination:
The 'find' command with specific fields accept empty input. But by the format definition in the UG, the name should not be empty. Such command need to be prevented or need to be explained in UG to specify 'find -n' means 'find the person with '-n'' or 'find the person with empty name'.
Command Series: add -n John Doe -p 98765432 -e johnd@example.com -c Google -j Software Engineer -a 311, Clementi Ave 2, #02-25 -r University friend -t friends -t owesMoney add -n John -p 98765432 -e johnd@example.com -c Google -j Software Engineer -a 311, Clementi Ave 2, #02-25 -r University friend -t friends -t owesMoney find -n
Explaination: The 'find' command with specific fields accept empty input. But by the format definition in the UG, the name should not be empty. Such command need to be prevented or need to be explained in UG to specify 'find -n' means 'find the person with '-n'' or 'find the person with empty name'.
Screenshot:
![image.png](https://raw.githubusercontent.com/nus-cs2103-AY2021S2/pe/main/files/34e76cf9-c297-4819-af39-ed1d6ae2ec86.png)
[original: nus-cs2103-AY2021S2/pe-interim#3029] [original labels: severity.Medium type.FunctionalityBug]