Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/nixonwidjaja/tp
Browse files Browse the repository at this point in the history
  • Loading branch information
nixonwidjaja committed Nov 13, 2023
2 parents 3b337b1 + 2abc1d1 commit be05b8a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/UserGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -270,6 +270,7 @@ Format: `leave INDEX m/MONTHS`
- The `INDEX` **must be a positive integer** 1,2,3, ...
- The `MONTHS` refers to the month of the leave the employee is taking in integer format (between 1-12).
- Positive `MONTHS` add leaves on the specified months and negative `MONTHS` remove them.
- Trailing commas in `MONTHS` (`leave 1 m/1,2,3,,,`) will be ignored, but empty months elsewhere (`leave 1 m/1,,,2`) will raise an error.

Examples:
- `list` followed by `leave 1 m/3,4` adds leaves in March and April for the 1st employee in the list.
Expand Down Expand Up @@ -376,7 +377,7 @@ Executing command: `sort name desc`

### Undoing previous commands: `undo`

Undo the most recent commands that modified the employee list, i.e., `add`, `edit`, `delete`, `leave`, `clear`, `sort`, `redo` commands.
Undo the most recent commands that modified the employee list, i.e., `add`, `edit`, `delete`, `leave`, `reset_leaves`, `clear`, `sort`, `redo` commands.

Format: `undo`

Expand Down

0 comments on commit be05b8a

Please sign in to comment.