mu: add --reindex option for mu index

I.e. without having to reinit explicitly.
This commit is contained in:
Dirk-Jan C. Binnema
2024-04-05 21:17:55 +03:00
parent 4ddbac5d5f
commit f813498f4d
7 changed files with 40 additions and 16 deletions

View File

@ -92,12 +92,11 @@ Result<void> mu_cmd_find(const Store& store, const Options& opts);
/**
* execute the 'index' command
*
* @param store store object to use
* @param opts configuration options
*
* @return Ok() or some error
*/
Result<void> mu_cmd_index(Store& store, const Options& opt);
Result<void> mu_cmd_index(const Options& opt);
/**
* execute the 'info' command