Skip to content

Commit

Permalink
Improve docs for advanced sorting
Browse files Browse the repository at this point in the history
See: #524
  • Loading branch information
WhyNotHugo committed Oct 10, 2023
1 parent b7587f4 commit 27c45f0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/source/usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,10 @@ The tasks can be sorted with the ``--sort`` argument. Sorting may be done accord
- ``start``
- ``due``
- ``last_modified``

It is possible to prepend a ``-`` to a field to sort by that field in ascending
order (by default they are sorted in descending order).

Example::

todo list --sort due,-priority

0 comments on commit 27c45f0

Please sign in to comment.