diff --git a/src/mu-config.c b/src/mu-config.c index b0fdaa86..732f16b8 100644 --- a/src/mu-config.c +++ b/src/mu-config.c @@ -176,7 +176,9 @@ config_options_group_find (MuConfig *opts) "clear old links before filling a linksdir (false)", NULL}, {"format", 'o', 0, G_OPTION_ARG_STRING, &opts->formatstr, "output format ('plain'(*), 'links', 'xml'," - "'json', 'sexp', 'xquery')", NULL}, + "'json', 'sexp', 'xquery')", NULL}, + /* {"exec", 'e', 0, G_OPTION_ARG_STRING, &opts->exec, */ + /* "execute command on each match message", NULL}, */ {NULL, 0, 0, 0, NULL, NULL, NULL} }; diff --git a/src/mu-config.h b/src/mu-config.h index e6617122..361b8b16 100644 --- a/src/mu-config.h +++ b/src/mu-config.h @@ -103,7 +103,10 @@ struct _MuConfig { char *bookmark; /* use bookmark */ char *formatstr; /* output type * (plain,links,xml,json,sexp) */ - + char *exec; /* command to execute on the + * files for the matched + * messages */ + /* options for view */ gboolean separate; /* add separator between * multiple messages in mu