Skip to content

Commit

Permalink
Updates the docs for list with examples
Browse files Browse the repository at this point in the history
Thanks to @amandabee and @lsrdg
  • Loading branch information
geier committed Oct 27, 2023
1 parent 25c5c26 commit 618c019
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions doc/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,17 @@ The `--once` option only allows events to appear once even if they are on
multiple days. With the `--notstarted` option only events are shown that start
after `START`.

**Some examples**

Including or excluding specific calendars:

* `khal list -d soccer` will display events, in list form, from every calendar except "soccer."
* `khal list -a soccer` will display events, in list form, from only the "soccer" calendar.

Working with date ranges:

* `khal list -a soccer today 30d` will show all events in next 30 days (from the "soccer" calendar).
* `khal list 2019-12-01 31d` will show all all events for the 31 days following Dec 1, 2019.

at
**
Expand Down

0 comments on commit 618c019

Please sign in to comment.