[PATCH 1/2] cli/count: remove unused argument handling for output=modifications

David Bremner david at tethera.net
Mon Sep 7 06:33:37 PDT 2015


In the end this UI was rejected, but bits of it stayed in the code to
confuse future generations.
---
 notmuch-count.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/notmuch-count.c b/notmuch-count.c
index f26e726..66f5e53 100644
--- a/notmuch-count.c
+++ b/notmuch-count.c
@@ -25,7 +25,6 @@ enum {
     OUTPUT_THREADS,
     OUTPUT_MESSAGES,
     OUTPUT_FILES,
-    OUTPUT_LASTMOD,
 };
 
 /* 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 },
 				  { "messages", OUTPUT_MESSAGES },
 				  { "files", OUTPUT_FILES },
-				  { "modifications", OUTPUT_LASTMOD },
 				  { 0, 0 } } },
 	{ NOTMUCH_OPT_KEYWORD, &exclude, "exclude", 'x',
 	  (notmuch_keyword_t []){ { "true", EXCLUDE_TRUE },
-- 
2.5.1



More information about the notmuch mailing list