Skip to content

Commit

Permalink
Merge pull request #1306 from pimutils/feature/update_list_doc
Browse files Browse the repository at this point in the history
Updates the docs for `list` with examples
  • Loading branch information
geier authored Oct 27, 2023
2 parents a6d12ad + 627fac9 commit 8f01f31
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 8f01f31

Please sign in to comment.