Re: [PATCH] cli: remove unused argument descriptions
authorTomi Ollila <tomi.ollila@iki.fi>
Sun, 26 May 2013 16:28:43 +0000 (19:28 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:03 +0000 (09:55 -0800)
68/8f654ac655a0f38e430c4b04c16a577ef0a07e [new file with mode: 0644]

diff --git a/68/8f654ac655a0f38e430c4b04c16a577ef0a07e b/68/8f654ac655a0f38e430c4b04c16a577ef0a07e
new file mode 100644 (file)
index 0000000..79ec630
--- /dev/null
@@ -0,0 +1,124 @@
+Return-Path: <tomi.ollila@iki.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id D0AB9431FBF\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 09:28:59 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
+       autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id R2gci6SAfkb1 for <notmuch@notmuchmail.org>;\r
+       Sun, 26 May 2013 09:28:49 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+       by olra.theworths.org (Postfix) with ESMTP id 9CC11431FAE\r
+       for <notmuch@notmuchmail.org>; Sun, 26 May 2013 09:28:49 -0700 (PDT)\r
+Received: from guru.guru-group.fi (localhost [IPv6:::1])\r
+       by guru.guru-group.fi (Postfix) with ESMTP id E8A87100093;\r
+       Sun, 26 May 2013 19:28:43 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: Jani Nikula <jani@nikula.org>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] cli: remove unused argument descriptions\r
+In-Reply-To: <1369480153-15190-1-git-send-email-jani@nikula.org>\r
+References: <1369480153-15190-1-git-send-email-jani@nikula.org>\r
+User-Agent: Notmuch/0.15.2+115~g12cf6af (http://notmuchmail.org) Emacs/24.3.1\r
+       (x86_64-unknown-linux-gnu)\r
+X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
+       $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
+       !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
+Date: Sun, 26 May 2013 19:28:43 +0300\r
+Message-ID: <m2fvx9n1s4.fsf@guru.guru-group.fi>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sun, 26 May 2013 16:29:00 -0000\r
+\r
+On Sat, May 25 2013, Jani Nikula <jani@nikula.org> wrote:\r
+\r
+> Clean up leftovers from help system rework. These are no longer\r
+> needed. They are easy to resurrect and update if a need later arises.\r
+> ---\r
+\r
++1\r
+\r
+Tomi\r
+\r
+\r
+>  notmuch.c |   13 -------------\r
+>  1 file changed, 13 deletions(-)\r
+>\r
+> diff --git a/notmuch.c b/notmuch.c\r
+> index f51a84f..267ce3d 100644\r
+> --- a/notmuch.c\r
+> +++ b/notmuch.c\r
+> @@ -28,7 +28,6 @@ typedef struct command {\r
+>      const char *name;\r
+>      command_function_t function;\r
+>      notmuch_bool_t create_config;\r
+> -    const char *arguments;\r
+>      const char *summary;\r
+>  } command_t;\r
+>  \r
+> @@ -40,40 +39,28 @@ notmuch_command (notmuch_config_t *config, int argc, char *argv[]);\r
+>  \r
+>  static command_t commands[] = {\r
+>      { NULL, notmuch_command, TRUE,\r
+> -      NULL,\r
+>        "Notmuch main command." },\r
+>      { "setup", notmuch_setup_command, TRUE,\r
+> -      NULL,\r
+>        "Interactively setup notmuch for first use." },\r
+>      { "new", notmuch_new_command, FALSE,\r
+> -      "[options...]",\r
+>        "Find and import new messages to the notmuch database." },\r
+>      { "search", notmuch_search_command, FALSE,\r
+> -      "[options...] <search-terms> [...]",\r
+>        "Search for messages matching the given search terms." },\r
+>      { "show", notmuch_show_command, FALSE,\r
+> -      "<search-terms> [...]",\r
+>        "Show all messages matching the search terms." },\r
+>      { "count", notmuch_count_command, FALSE,\r
+> -      "[options...] <search-terms> [...]",\r
+>        "Count messages matching the search terms." },\r
+>      { "reply", notmuch_reply_command, FALSE,\r
+> -      "[options...] <search-terms> [...]",\r
+>        "Construct a reply template for a set of messages." },\r
+>      { "tag", notmuch_tag_command, FALSE,\r
+> -      "+<tag>|-<tag> [...] [--] <search-terms> [...]" ,\r
+>        "Add/remove tags for all messages matching the search terms." },\r
+>      { "dump", notmuch_dump_command, FALSE,\r
+> -      "[<filename>] [--] [<search-terms>]",\r
+>        "Create a plain-text dump of the tags for each message." },\r
+>      { "restore", notmuch_restore_command, FALSE,\r
+> -      "[--accumulate] [<filename>]",\r
+>        "Restore the tags from the given dump file (see 'dump')." },\r
+>      { "config", notmuch_config_command, FALSE,\r
+> -      "[get|set] <section>.<item> [value ...]",\r
+>        "Get or set settings in the notmuch configuration file." },\r
+>      { "help", notmuch_help_command, TRUE, /* create but don't save config */\r
+> -      "[<command>]",\r
+>        "This message, or more detailed help for the named command." }\r
+>  };\r
+>  \r
+> -- \r
+> 1.7.10.4\r
+>\r
+> _______________________________________________\r
+> notmuch mailing list\r
+> notmuch@notmuchmail.org\r
+> http://notmuchmail.org/mailman/listinfo/notmuch\r