Closed raysonchia closed 7 months ago
@raysonchia What did the v1.3 UG say about this feature? Was the intended behavior described there?
@raysonchia What did the v1.3 UG say about this feature? Was the intended behavior described there?
The UG mentions the behaviour of the empty input g/
in other commands e.g. add
, edit
. The current error message for find g/
also mentions this behaviour.
@raysonchia Yes, not accepting g/
is a bug. You can fix it.
https://github.com/AY2324S2-CS2103-F09-4/tp/issues/94
Our
Find
command allows the search for the gender attribute which has 3 possible valesM
,F
andPrefer not to say
. The intended way to filter for these genders would befind g/m
,find g/f
andfind g/
respectively. We made a design consideration earlier to shortenPrefer not to say
with an empty input instead. However, the command currently incorrectly parses this and throws an error to the user sayingGender must be M, F or exclude argument in the command for 'Prefer not to say'
when enteredfind g/
. Hence, there is no way for the user to find for the genderPrefer not to say
. Would this be fixable or is it an enhancement?