diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/args.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -522,6 +522,8 @@ int parse_args(int argc, char **argv) query = 1; break; case 's': + if (!optarg) + optarg = "today"; from = parse_datetimearg(optarg); EXIT_IF(from == -1, _("invalid date: %s"), optarg); filter.type_mask |= TYPE_MASK_CAL; |