Skip to content

Commit

Permalink
Update UserGuide.md to Include Department
Browse files Browse the repository at this point in the history
  • Loading branch information
marcellaantania committed Sep 30, 2023
1 parent 252c763 commit acf481f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,19 @@ Examples:
- `list` followed by `claim 1 $/-500` deducts $50 from the entitlement fund of the 1st employee in the list.
- `list` followed by `claim 2 $/+60` adds $60 to the entitlement fund of the 2nd employee in the list.

### Listing Employees of a Department: department

List all employees in the specified department.

Format: `department d/DEPARTMENT`

- The `DEPARTMENT` refers to the department name tagged to the employees

Examples:
- `department d/Human Resource` returns a list of employees in the Human Resource department.
- `department d/Marketing` returns a list of employees in the Marketing department.


### Clearing all entries : `clear`

Clears all entries from the address book.
Expand Down Expand Up @@ -217,4 +230,5 @@ _Details coming soon ..._
| **Find** | `find KEYWORD [MORE_KEYWORDS]`<br> e.g., `find James Jake` |
| **List** | `list` |
| **Claim** | `claim INDEX $/CLAIM_AMOUNT` <br> e.g., `claim 1 $/-500` |
| **Department** | `department d/DEPARTMENT` <br> e.g., `department d/Human Resource` |
| **Help** | `help` |

0 comments on commit acf481f

Please sign in to comment.