* add --my-addresses argument to mu-config

This commit is contained in:
djcb 2012-06-17 17:49:55 +03:00
parent 74ce48971c
commit b7744e0da2
2 changed files with 5 additions and 0 deletions

View File

@ -148,6 +148,8 @@ config_options_group_index (void)
"index even already indexed messages (false)", NULL},
{"rebuild", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.rebuild,
"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,
"auto-upgrade the database with new mu versions (false)",
NULL},

View File

@ -107,6 +107,9 @@ struct _MuConfig {
* commits, or 0 for
* default */
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') */
char *fields; /* fields to show in output */