From 03c4465baf3b348de3afc5fd873d417ae4887def Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 28 Jan 2016 18:34:42 +0100 Subject: Fix behavior of --todo with an optional argument The previous behavior of --todo was to always only list uncompleted items, unless zero was specified as additional argument. Restore and document this behavior. Also, fix two tests that failed because the --todo output is now sorted. Signed-off-by: Lukas Fleischer --- doc/calcurse.1.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'doc/calcurse.1.txt') diff --git a/doc/calcurse.1.txt b/doc/calcurse.1.txt index 829ede2..28238d1 100644 --- a/doc/calcurse.1.txt +++ b/doc/calcurse.1.txt @@ -183,10 +183,10 @@ in read-only mode, all changes from this session will be lost without warning! *-t*[num], *--todo*[=num]:: Print the *todo* list and exit. If the optional number 'num' is given, then - only todos having a priority equal to 'num' will be returned. The priority - number must be between 1 (highest) and 9 (lowest). It is also possible to - specify *0* for the priority, in which case only completed tasks will be - shown. Equivalent to *-Q --filter-type todo*, combined with + only uncompleted todos having a priority equal to 'num' will be returned. The + priority number must be between 1 (highest) and 9 (lowest). It is also + possible to specify *0* for the priority, in which case only completed tasks + will be shown. Equivalent to *-Q --filter-type todo*, combined with *--filter-priority* and *--filter-completed* or *--filter-uncompleted*. *--to* :: -- cgit v1.2.3-54-g00ecf