nus-cs2103-AY2122S1 / pe-dev-response

0 stars 0 forks source link

Error message bug 6 #5857

Open nus-se-bot opened 2 years ago

nus-se-bot commented 2 years ago

image.png

The error message here is not invalid phone number but rather an invalid command format since there is no space between two arguments


[original: nus-cs2103-AY2122S1/pe-interim#5842] [original labels: severity.Low type.FeatureFlaw]

Imranr2 commented 2 years ago

Team's Response

Since there is no space, the application regards everything after cp/ as the phone number and therefore the phone number is invalid. This is the standard convention for CLI applications. When there is no space, it is considered as a single input.

image.png

Duplicate status (if any):

--