From 2e9a943f8f35acea187b13e8ac20e0163ac24c86 Mon Sep 17 00:00:00 2001 From: leegengyu Date: Tue, 30 Oct 2018 22:32:06 +0800 Subject: [PATCH 1/3] Updated UserGuide --- docs/UserGuide.adoc | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/docs/UserGuide.adoc b/docs/UserGuide.adoc index 1cbed4bd89ff..4cb08d176fd3 100644 --- a/docs/UserGuide.adoc +++ b/docs/UserGuide.adoc @@ -302,6 +302,28 @@ Shows only contacts who are free at mon 10am. `filter GER1000 mon 10 am` Shows only contacts who have GER1000 in their timetable and are free at mon 10am. +==== Filters for next free time slots for one or more contact: `free` + +Format: `free f/INDEX` +**** +* Displays next available time slot (from current time). +* Running this command outside of the time window of 8am to 7pm will yield the next available time slot in the next day. +* Running this command outside of the day window of Monday to Friday will yield the next available time slot in the next weekday. + +`free f/3` +Shows the next available time slot (from current time) for contact whose index is 3. + +`free f/1 f/7 f/9` +Shows the next available time slot (from current time) for contacts whose indices are 1, 7 and 9 respectively. + +==== Export user string: `export` + +To be filled in. + +==== Import user string: `import` + +To be filled in. +**** === Notes Commands From 9256887a49f5dccf7f32894d5901a9dfeaa4920f Mon Sep 17 00:00:00 2001 From: leegengyu Date: Tue, 30 Oct 2018 22:34:16 +0800 Subject: [PATCH 2/3] More updates to UserGuide --- docs/UserGuide.adoc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/UserGuide.adoc b/docs/UserGuide.adoc index 4cb08d176fd3..e8766f7e237d 100644 --- a/docs/UserGuide.adoc +++ b/docs/UserGuide.adoc @@ -293,13 +293,13 @@ Format: `filter MODULE CODE/DAY TIME...` * Contacts can be filtered by more than one module/day and time. **** -`filter GER1000` +`filter GER1000` + Shows only contacts who have GER1000 in the timetable. -`filter mon 10am` +`filter mon 10am` + Shows only contacts who are free at mon 10am. -`filter GER1000 mon 10 am` +`filter GER1000 mon 10 am` + Shows only contacts who have GER1000 in their timetable and are free at mon 10am. ==== Filters for next free time slots for one or more contact: `free` @@ -310,10 +310,10 @@ Format: `free f/INDEX` * Running this command outside of the time window of 8am to 7pm will yield the next available time slot in the next day. * Running this command outside of the day window of Monday to Friday will yield the next available time slot in the next weekday. -`free f/3` +`free f/3` + Shows the next available time slot (from current time) for contact whose index is 3. -`free f/1 f/7 f/9` +`free f/1 f/7 f/9` + Shows the next available time slot (from current time) for contacts whose indices are 1, 7 and 9 respectively. ==== Export user string: `export` From a0f66c537ecbdab03d83fc9327a4ce38c879d019 Mon Sep 17 00:00:00 2001 From: leegengyu Date: Tue, 30 Oct 2018 22:35:30 +0800 Subject: [PATCH 3/3] More edits to UserGuide --- docs/UserGuide.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/UserGuide.adoc b/docs/UserGuide.adoc index e8766f7e237d..bd54c3bb1a91 100644 --- a/docs/UserGuide.adoc +++ b/docs/UserGuide.adoc @@ -309,6 +309,7 @@ Format: `free f/INDEX` * Displays next available time slot (from current time). * Running this command outside of the time window of 8am to 7pm will yield the next available time slot in the next day. * Running this command outside of the day window of Monday to Friday will yield the next available time slot in the next weekday. +**** `free f/3` + Shows the next available time slot (from current time) for contact whose index is 3. @@ -323,7 +324,6 @@ To be filled in. ==== Import user string: `import` To be filled in. -**** === Notes Commands