mirror of https://github.com/djcb/mu.git
* mu-config: add 'clearlinks' option
This commit is contained in:
parent
0dd884f3b8
commit
b94c4ae659
|
@ -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 }
|
||||
};
|
||||
|
||||
|
|
|
@ -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? */
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue