Open prgJ opened 2 years ago
[IMPORTANT!: Please do not edit or reply to this comment using the GitHub UI. You can respond to it using CATcher during the next phase of the PE]
This is expected behaviour. The user guide does state that when a parameter is expected only once, but entered twice. The last occurence of the input will be taken. Screenshot of User Guide:
Team chose [response.Rejected
]
Reason for disagreement: [replace this with your reason]
Upon users accidentally inputting two parameters, like for example in this command with two 'round' parameters,
add n/John Doe p/98765432 e/johnd@example.com j/Software Engineer r/Technical Interview r/Instagram check s/Java
the following is produced:Only the second parameter is accepted. Such behaviour does not throw an error, nor is it specified in the user guide. However it might lead to users to falsely input data and not realize it, especially if they are not aware this can happen.