* basic implementation of --exec for mu find (WIP)

This commit is contained in:
Dirk-Jan C. Binnema
2011-07-06 23:35:52 +03:00
parent 543a4400ab
commit a31ea71e0a
3 changed files with 52 additions and 4 deletions

View File

@ -177,8 +177,8 @@ config_options_group_find (MuConfig *opts)
{"format", 'o', 0, G_OPTION_ARG_STRING, &opts->formatstr,
"output format ('plain'(*), 'links', 'xml',"
"'json', 'sexp', 'xquery')", NULL},
/* {"exec", 'e', 0, G_OPTION_ARG_STRING, &opts->exec, */
/* "execute command on each match message", NULL}, */
{"exec", 'e', 0, G_OPTION_ARG_STRING, &opts->exec,
"execute command on each match message", NULL},
{NULL, 0, 0, 0, NULL, NULL, NULL}
};