forked from nus-cs2103-AY2122S1/tp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e0d25b9
commit ba81d5e
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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` | ||
|
@@ -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 | | ||
|