Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid command format message for all commands with index could include the i prefix #11

Open
dlimyy opened this issue Oct 28, 2022 · 0 comments

Comments

@dlimyy
Copy link
Owner

dlimyy commented Oct 28, 2022

Steps to reproduce:

editClient 7

Output Message:

Invalid command format! 
editClient: Edits the details of the client identified by the index number used in the displayed client 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/BIRTHDAY] [pd/PRODUCT(S)]...
Example: editClient i/1 p/91234567 e/[email protected]

Currently, in the invalid command format, INDEX could be changed to i/INDEX in the parameters as the user has to type i/INDEX for the command to work instead of just INDEX. I understand that the example includes the prefix i but it would be good to specify it in the parameters as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant