mu: default to include related, skip dups

Add optioins --include-dups and --skip-related that are the reverse of
the previous ones. Leave the old options (hidden) for backward
compat (ie., scripts that use those options)
This commit is contained in:
Dirk-Jan C. Binnema
2019-12-01 16:09:28 +02:00
parent 0bc2e605a4
commit f86ed12eb3
5 changed files with 35 additions and 24 deletions

View File

@ -88,7 +88,7 @@ search (const char* query, unsigned expected)
{
gchar *cmdline, *output, *erroutput;
cmdline = g_strdup_printf ("%s find --muhome=%s %s",
cmdline = g_strdup_printf ("%s find --muhome=%s %s --skip-related --include-dups",
MU_PROGRAM, DBPATH, query);
if (g_test_verbose())