* mu find: add support for '--after', to only consider messages with mtime

after timestamp. This is useful for finding just-arrived messages.
This commit is contained in:
djcb
2012-07-12 15:53:36 +03:00
parent c9fc49cfd6
commit a9df392fcf
4 changed files with 190 additions and 246 deletions

View File

@ -229,9 +229,8 @@ config_options_group_find (void)
"'sexp', 'xquery')", NULL},
{"exec", 'e', 0, G_OPTION_ARG_STRING, &MU_CONFIG.exec,
"execute command on each match message", NULL},
{"include-unreable", 0, 0, G_OPTION_ARG_NONE,
&MU_CONFIG.include_unreadable,
"don't ignore messages without a disk file (false)", NULL},
{"after", 0, 0, G_OPTION_ARG_INT, &MU_CONFIG.after,
"only show messages whose m_time > T (t_time)", NULL},
{NULL, 0, 0, 0, NULL, NULL, NULL}
};