diff --git a/src/mu-config.c b/src/mu-config.c index f681dbac..59626837 100644 --- a/src/mu-config.c +++ b/src/mu-config.c @@ -42,6 +42,8 @@ mu_config_options_group_mu (MuConfigOptions *opts) {"log-append", 'a', 0, G_OPTION_ARG_NONE, &opts->log_append, "append to the current logfile (instead of overwriting it)", NULL}, + { G_OPTION_REMAINING, 0, 0, G_OPTION_ARG_STRING_ARRAY, + &opts->params, "parameters", NULL }, { NULL, 0, 0, 0, NULL, NULL, NULL } }; @@ -138,4 +140,6 @@ mu_config_uninit (MuConfigOptions *opts) * for the 'outside world' */ g_free ((gchar*)opts->muhome); g_free ((gchar*)opts->maildir); + + g_strfreev (opts->params); } diff --git a/src/mu-config.h b/src/mu-config.h index dcd42bb6..23307247 100644 --- a/src/mu-config.h +++ b/src/mu-config.h @@ -35,6 +35,7 @@ struct _MuConfigOptions { gboolean version; /* request mu version */ gboolean log_stderr; /*log to stderr (instead of logfile)*/ gboolean log_append; /* append to log (instead of overwriting)*/ + gchar** params; /* parameters (for querying) */ /* options for indexing */