mirror of https://github.com/djcb/mu.git
* mu-config: gather all the remaining args
This commit is contained in:
parent
ab9039b36e
commit
9e5e2b04e8
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue