cli/count: remove unused argument handling for output=modifications

In the end this UI was rejected, but bits of it stayed in the code to
confuse future generations.
This commit is contained in:
David Bremner 2015-09-07 10:08:25 -03:00
parent f460ad4e9a
commit 8c2f9bdfbb

View file

@ -25,7 +25,6 @@ enum {
OUTPUT_THREADS, OUTPUT_THREADS,
OUTPUT_MESSAGES, OUTPUT_MESSAGES,
OUTPUT_FILES, OUTPUT_FILES,
OUTPUT_LASTMOD,
}; };
/* The following is to allow future options to be added more easily */ /* The following is to allow future options to be added more easily */
@ -151,7 +150,6 @@ notmuch_count_command (notmuch_config_t *config, int argc, char *argv[])
(notmuch_keyword_t []){ { "threads", OUTPUT_THREADS }, (notmuch_keyword_t []){ { "threads", OUTPUT_THREADS },
{ "messages", OUTPUT_MESSAGES }, { "messages", OUTPUT_MESSAGES },
{ "files", OUTPUT_FILES }, { "files", OUTPUT_FILES },
{ "modifications", OUTPUT_LASTMOD },
{ 0, 0 } } }, { 0, 0 } } },
{ NOTMUCH_OPT_KEYWORD, &exclude, "exclude", 'x', { NOTMUCH_OPT_KEYWORD, &exclude, "exclude", 'x',
(notmuch_keyword_t []){ { "true", EXCLUDE_TRUE }, (notmuch_keyword_t []){ { "true", EXCLUDE_TRUE },