Skip to content

Commit

Permalink
Update add command input
Browse files Browse the repository at this point in the history
  • Loading branch information
benedictchuajj authored Oct 13, 2021
1 parent e0d25b9 commit ba81d5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,15 +98,15 @@ Address | String | a/

Adds a new client to the address book.

Format: `add {client’s name} <email>/{email} <phone-no>/{phone number} <risk-appetite>/{risk appetite}...​`
Format: `add <name>/{client’s name} <email>/{email} <phone-no>/{phone number} <risk-appetite>/{risk appetite}...​`

* A client must have minimally the name and email tag filled during creation
* Any other tags are optional
* Tags that can be added are as seen in the client information in the Client Info Section

Examples:
* `add Benedict Chua e/[email protected]`
* `add Keith e/[email protected] p/12345678 r/4`
* `add n/Benedict Chua e/[email protected]`
* `add n/Keith e/[email protected] p/12345678 r/4`


### Retrieve Particular Contact : `view`
Expand Down Expand Up @@ -245,7 +245,7 @@ If your changes to the data file makes its format invalid, AddressBook will disc

Action | Format | Examples
--------|---------|---------
**Create** | `add {client’s name} <email>/{email} <phone-no>/{phone number} <risk-appetite>/{risk appetite}`| add benedict e/[email protected] p/90909898 r/3 |
**Create** | `add <name>/{client’s name} <email>/{email} <phone-no>/{phone number} <risk-appetite>/{risk appetite}`| add n/benedict e/[email protected] p/90909898 r/3 |
**View** | `view {client’s id number}` | view 123 |
**Delete** | `delete <attribute>/{value}` | delete i/4 |
**Edit** | `update {Client’s id number} <attribute>/{change value of attribute}` | update 1234 n/Dominic p/12345678 |
Expand Down

0 comments on commit ba81d5e

Please sign in to comment.