* add --my-addresses argument to mu-config
This commit is contained in:
@ -148,6 +148,8 @@ config_options_group_index (void)
|
|||||||
"index even already indexed messages (false)", NULL},
|
"index even already indexed messages (false)", NULL},
|
||||||
{"rebuild", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.rebuild,
|
{"rebuild", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.rebuild,
|
||||||
"rebuild the database from scratch (false)", NULL},
|
"rebuild the database from scratch (false)", NULL},
|
||||||
|
{"my-address", 0, 0, G_OPTION_ARG_STRING_ARRAY,&MU_CONFIG.my_addresses,
|
||||||
|
"my e-mail address (regexp); can be used multiple times", NULL},
|
||||||
{"autoupgrade", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.autoupgrade,
|
{"autoupgrade", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.autoupgrade,
|
||||||
"auto-upgrade the database with new mu versions (false)",
|
"auto-upgrade the database with new mu versions (false)",
|
||||||
NULL},
|
NULL},
|
||||||
|
|||||||
@ -107,6 +107,9 @@ struct _MuConfig {
|
|||||||
* commits, or 0 for
|
* commits, or 0 for
|
||||||
* default */
|
* default */
|
||||||
int max_msg_size; /* maximum size for message files */
|
int max_msg_size; /* maximum size for message files */
|
||||||
|
char** my_addresses; /* 'my e-mail address', for mu
|
||||||
|
* cfind; can be use multiple
|
||||||
|
* times */
|
||||||
|
|
||||||
/* options for querying 'find' (and view-> 'summary') */
|
/* options for querying 'find' (and view-> 'summary') */
|
||||||
char *fields; /* fields to show in output */
|
char *fields; /* fields to show in output */
|
||||||
|
|||||||
Reference in New Issue
Block a user