Skip to content

Commit

Permalink
Merge pull request nusCS2113-AY1819S1#80 from leegengyu/master
Browse files Browse the repository at this point in the history
Updated UserGuide for free command
  • Loading branch information
leegengyu authored Oct 30, 2018
2 parents 33b0d67 + a0f66c5 commit 43b4055
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions docs/UserGuide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -293,15 +293,37 @@ 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`

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

Expand Down

0 comments on commit 43b4055

Please sign in to comment.