[PATCH] cli: remove unused argument descriptions
authorJani Nikula <jani@nikula.org>
Sat, 25 May 2013 11:09:13 +0000 (14:09 +0300)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:54:59 +0000 (09:54 -0800)
08/1574956451302cd20232e0ba74e7c89a48f313 [new file with mode: 0644]

diff --git a/08/1574956451302cd20232e0ba74e7c89a48f313 b/08/1574956451302cd20232e0ba74e7c89a48f313
new file mode 100644 (file)
index 0000000..9fb7506
--- /dev/null
@@ -0,0 +1,125 @@
+Return-Path: <jani@nikula.org>\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 8D1F9431FAE\r
+       for <notmuch@notmuchmail.org>; Sat, 25 May 2013 04:09:27 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.7\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_LOW=-0.7] 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 E+POwYaHQtjw for <notmuch@notmuchmail.org>;\r
+       Sat, 25 May 2013 04:09:21 -0700 (PDT)\r
+Received: from mail-la0-f52.google.com (mail-la0-f52.google.com\r
+       [209.85.215.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id BA62F431FAF\r
+       for <notmuch@notmuchmail.org>; Sat, 25 May 2013 04:09:20 -0700 (PDT)\r
+Received: by mail-la0-f52.google.com with SMTP id fo13so5163429lab.25\r
+       for <notmuch@notmuchmail.org>; Sat, 25 May 2013 04:09:19 -0700 (PDT)\r
+X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
+       d=google.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;\r
+       bh=Qe8kiAvmbZMQ54nrUvu9mP9Fj2B3naGBcUDEkIgwhA8=;\r
+       b=UF7GwM914vrsWFL8JddhuwuNUWh7Sr4mUReG55ulQumOSe27ojGv+FQL5RxoCanosr\r
+       cZOyS5pOTyftVfcHSVwIhQd0obbJFFvaGB2ix1sG7LamAyd34Cec3qTcAOAQjx7OmUxD\r
+       zrVx4w2VPvi3JngG+r4ggm1K32+/+/+2UBVw2sDYVM2j2iCpXAnz5q8vDB52Y630Sz5L\r
+       23x/6LLU+hdUTGDMpnrSlg47gA0p2pxT/0m+6UIZf4FGqHdlkyaJ33TJTKIrqGuClwyq\r
+       LwS13Z8bs5pExRbUvZXhRMgxn/N4kr6vCtcu4LosMz++yxn1QdNCN+An75HOiqF7sOmJ\r
+       BD5A==\r
+X-Received: by 10.152.37.164 with SMTP id z4mr10769085laj.21.1369480159020;\r
+       Sat, 25 May 2013 04:09:19 -0700 (PDT)\r
+Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi.\r
+       [88.195.118.211])\r
+       by mx.google.com with ESMTPSA id n5sm8041480lbe.15.2013.05.25.04.09.17\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Sat, 25 May 2013 04:09:18 -0700 (PDT)\r
+From: Jani Nikula <jani@nikula.org>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] cli: remove unused argument descriptions\r
+Date: Sat, 25 May 2013 14:09:13 +0300\r
+Message-Id: <1369480153-15190-1-git-send-email-jani@nikula.org>\r
+X-Mailer: git-send-email 1.7.10.4\r
+X-Gm-Message-State:\r
+ ALoCoQle0HdBl5HFQelrZGYpaITWPTK54r7jjlXUCiL/v2EDnuFkOd0RXOe54PQXEgIPJLaf56h5\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: Sat, 25 May 2013 11:09:27 -0000\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
+ 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