Revert "mu: default to include related, skip dups"

Changing the default for 'mu find' turns out to be  a bit too disruptive for people
that use `mu find` for scripting... so let's revert this for now.

This reverts commit f86ed12eb3.
This commit is contained in:
Dirk-Jan C. Binnema
2019-12-28 07:48:06 +02:00
parent dea577297f
commit 8cef8ac69c
5 changed files with 24 additions and 35 deletions

View File

@ -210,24 +210,12 @@ config_options_group_find (void)
"use a bookmarked query", "<bookmark>"},
{"reverse", 'z', 0, G_OPTION_ARG_NONE, &MU_CONFIG.reverse,
"sort in reverse (descending) order (z -> a)", NULL},
/* default is to skip dups (messages with the same message-id);
* option left for backward compatibility */
{"skip-dups", 'u', G_OPTION_FLAG_HIDDEN|G_OPTION_FLAG_REVERSE,
G_OPTION_ARG_NONE, &MU_CONFIG.include_dups,
{"skip-dups", 'u', 0, G_OPTION_ARG_NONE,
&MU_CONFIG.skip_dups,
"show only the first of messages duplicates (false)", NULL},
{"include-dups", 'u', 0, G_OPTION_ARG_NONE,
&MU_CONFIG.include_dups,
"do not skip all but the first message with some message-id",
NULL},
/* default is to include related messages; option left for
* backward compatibility */
{"include-related", 'r', G_OPTION_FLAG_HIDDEN | G_OPTION_FLAG_REVERSE,
G_OPTION_ARG_NONE, &MU_CONFIG.skip_related,
"include related messages in results", NULL},
{"skip-related", 'r', 0, G_OPTION_ARG_NONE,
&MU_CONFIG.skip_related,
"do not include related messages in the results (false)", NULL},
{"include-related", 'r', 0, G_OPTION_ARG_NONE,
&MU_CONFIG.include_related,
"include related messages in results (false)", NULL},
{"linksdir", 0, 0, G_OPTION_ARG_STRING, &MU_CONFIG.linksdir,
"output as symbolic links to a target maildir", "<dir>"},
{"clearlinks", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.clearlinks,