* mu-config: add 'clearlinks' option

This commit is contained in:
Dirk-Jan C. Binnema 2010-01-03 13:41:56 +02:00
parent 0dd884f3b8
commit b94c4ae659
2 changed files with 3 additions and 0 deletions

View File

@ -89,6 +89,8 @@ mu_config_options_group_query (MuConfigOptions *opts)
"sort descending", NULL},
{"linksdir", 't', 0, G_OPTION_ARG_STRING, &opts->linksdir,
"output as symbolic links to a target maildir", NULL },
{"clearlinks", 'c', 0, G_OPTION_ARG_NONE, &opts->clearlinks,
"clear old links before filling a linksdir", NULL},
{ NULL, 0, 0, 0, NULL, NULL, NULL }
};

View File

@ -50,6 +50,7 @@ struct _MuConfigOptions {
char *sortfield; /* field to sort by (string) */
char *linksdir; /* maildir to output symlinks */
gboolean clearlinks; /* clear a linksdir before filling */
gboolean descending; /* sort descending? */
};