* beginning of mu find --exec config (WIP)
This commit is contained in:
@ -176,7 +176,9 @@ config_options_group_find (MuConfig *opts)
|
|||||||
"clear old links before filling a linksdir (false)", NULL},
|
"clear old links before filling a linksdir (false)", NULL},
|
||||||
{"format", 'o', 0, G_OPTION_ARG_STRING, &opts->formatstr,
|
{"format", 'o', 0, G_OPTION_ARG_STRING, &opts->formatstr,
|
||||||
"output format ('plain'(*), 'links', 'xml',"
|
"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}
|
{NULL, 0, 0, 0, NULL, NULL, NULL}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
@ -103,7 +103,10 @@ struct _MuConfig {
|
|||||||
char *bookmark; /* use bookmark */
|
char *bookmark; /* use bookmark */
|
||||||
char *formatstr; /* output type
|
char *formatstr; /* output type
|
||||||
* (plain,links,xml,json,sexp) */
|
* (plain,links,xml,json,sexp) */
|
||||||
|
char *exec; /* command to execute on the
|
||||||
|
* files for the matched
|
||||||
|
* messages */
|
||||||
|
|
||||||
/* options for view */
|
/* options for view */
|
||||||
gboolean separate; /* add separator between
|
gboolean separate; /* add separator between
|
||||||
* multiple messages in mu
|
* multiple messages in mu
|
||||||
|
|||||||
Reference in New Issue
Block a user