* beginning of mu find --exec config (WIP)

This commit is contained in:
Dirk-Jan C. Binnema 2011-07-06 02:09:46 +03:00
parent 19ddaee88f
commit 88d761e6fb
2 changed files with 7 additions and 2 deletions

View File

@ -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}
};

View File

@ -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