diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 16aa74cc818..1fd59556691 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -129,13 +129,15 @@ Examples: ### Listing all contacts : `list` **When in the main window** -Shows a list of all contacts added to the contacts list. +Shows a list of all contacts added to the contacts list. If the contact type is specified, it only shows the contacts with the specified type. -Format: `list` +Format: `list [clients/employees]` **When in the inspect window** -Shows a list of all deliveries added to a contact's delivery list. Format is the same as in the main window. +Shows a list of all deliveries added to a contact's delivery list. + +Format: `list` ### Editing a contact or delivery: `edit` **When in the main window** @@ -355,24 +357,6 @@ Format: `assign INDEX n/EMPLOYEE_NAME` Examples: * `assign 1 n/Betsy Crowe` assigns first delivery of the current contact to employee Betsy Crowe. -### Remove delivery from employee : `remove` -**When in the main window** - -`remove` does not work in the main window. - -**When in the inspect window** - -Removes the specified delivery from the delivery list of an employee. It does not work when inspecting a client. - -Format: `remove INDEX` - -* Removes the delivery at the specified `INDEX` from the current employee's delivery list. -* The index is the number displayed at the top of a delivery in the delivery list of a contact. -* The index **must be a positive number** (starting from 1). - -Examples: -* `remove 1` removes the first delivery of the current employee's delivery list. - ### Returning to the main window : `back` **When in the main window** @@ -448,8 +432,7 @@ Action | Format, Examples **Find Delivery**| Main Window:
Does not work
Inspect Window:
`finddel ITEM [MORE_ITEMS]` e.g., `finddel Monitor Mouse` **Help** | Both Windows:
`help` **Inspect**| Main Window:
`inspect INDEX`
e.g., `inspect 2`
Inspect Window:
Does not work -**List** | Both Windows:
`list` -**Remove** | Main Window:
Does not work
Inspect Window:
`remove INDEX` e.g., `remove 1` +**List** | Main Window:
`list` or `list clients` or `list employees`
Main Window:
`list` **Sort Ascending**| Both Windows:
`asort by/ATTRIBUTE` **Sort Descending**| Both Windows:
`dsort by/ATTRIBUTE` **Unarchive**| Both Windows:
`unarchive INDEXES`
e.g., `unarchive 3`, `unarchive 3 4`