summaryrefslogtreecommitdiffstats
path: root/src/args.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/args.c')
-rw-r--r--src/args.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/args.c b/src/args.c
index 6a85885..a82fcac 100644
--- a/src/args.c
+++ b/src/args.c
@@ -534,6 +534,8 @@ int parse_args(int argc, char **argv)
filter.priority = atoi(optarg);
if (filter.priority == 0)
filter.completed = 1;
+ else
+ filter.uncompleted = 1;
EXIT_IF(filter.priority > 9,
_("invalid priority: %s"), optarg);
} else {