Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates the docs for list with examples #1306

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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