From 778d1b755ab08810c6a111c71941493a5c915e7b Mon Sep 17 00:00:00 2001 From: Shanny Date: Thu, 5 Oct 2023 14:00:53 +0800 Subject: [PATCH] Fixed parameter name to SCHEDULE_INDEX --- docs/UserGuide.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index 118579eb012..a0c4bb22496 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -199,22 +199,22 @@ Deletes a schedule in the address book based on their index number in the table ![delete schedule](images/deleteSchedule.png) -**Format:** `delete-s INDEX_NO` +**Format:** `delete-s SCHEDULE_INDEX` **Example:** * `delele-s 5` deletes the schedule that is indexed as 5 in the schedule list. * `list` followed by `delete-s 2` deletes the 2nd schedule in the schedule list. **Acceptable values for each parameter:** -* `INDEX_NO`: NUMBER Only numerical input that ranges from 1 to the last schedule shown in the list of schedules +* `SCHEDULE_INDEX`: NUMBER Only numerical input that ranges from 1 to the last schedule shown in the list of schedules **Expected output:** * `Schedule has been deleted: Tutor: John Doe; Start date: Sep 15, 2023 09:00; End date: Sep 15, 2023 11:00;` **Error messages:** * `Index number given is out of range`: Given index is out of range. -* `Invalid value in parameter INDEX_NO`: Parameter given is not a numerical value. -* `Missing parameter INDEX_NO`: A numerical value is not provided when calling the command `delete-s`. +* `Invalid value in parameter SCHEDULE_INDEX`: Parameter given is not a numerical value. +* `Missing parameter SCHEDULE_INDEX`: A numerical value is not provided when calling the command `delete-s`. _More details coming soon ..._