DingBao-sys / pe

0 stars 0 forks source link

edit command does not accept parameter in any order unlike addv (add visit command) #10

Open DingBao-sys opened 7 months ago

DingBao-sys commented 7 months ago

steps to reproduce: edit n/John Doe 8 p/987654

expected: index to take precendence like addv command

actual Invalid command format! edit: Edits the details of the patient identified by the index number used in the displayed patient list. Existing values will be overwritten by the input values. Parameters: INDEX (must be a positive integer) [n/NAME] [p/PHONE] [e/EMAIL] [a/ADDRESS] [b/DATEOFBIRTH] [s/SEX] [o/APPOINTMENT] Example: edit 1 p/91234567 e/johndoe@example.com

reason the ug did say parameter can be accepted in any order

Screenshot 2024-04-19 at 5.05.52 PM.png

nus-pe-bot commented 7 months ago

Your response not required for this bug as the team has accepted the bug as it is.