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 --- test/filter-001.sh | 2 +- test/todo-002.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/filter-001.sh b/test/filter-001.sh index 2dcbb25..3e0aca5 100755 --- a/test/filter-001.sh +++ b/test/filter-001.sh @@ -8,8 +8,8 @@ if [ "$1" = 'actual' ]; then elif [ "$1" = 'expected' ]; then cat <