1 Return-Path: <jani@nikula.org>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id 8D1F9431FAE
\r
6 for <notmuch@notmuchmail.org>; Sat, 25 May 2013 04:09:27 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id E+POwYaHQtjw for <notmuch@notmuchmail.org>;
\r
16 Sat, 25 May 2013 04:09:21 -0700 (PDT)
\r
17 Received: from mail-la0-f52.google.com (mail-la0-f52.google.com
\r
18 [209.85.215.52]) (using TLSv1 with cipher RC4-SHA (128/128 bits))
\r
19 (No client certificate requested)
\r
20 by olra.theworths.org (Postfix) with ESMTPS id BA62F431FAF
\r
21 for <notmuch@notmuchmail.org>; Sat, 25 May 2013 04:09:20 -0700 (PDT)
\r
22 Received: by mail-la0-f52.google.com with SMTP id fo13so5163429lab.25
\r
23 for <notmuch@notmuchmail.org>; Sat, 25 May 2013 04:09:19 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=google.com; s=20120113;
\r
26 h=from:to:cc:subject:date:message-id:x-mailer:x-gm-message-state;
\r
27 bh=Qe8kiAvmbZMQ54nrUvu9mP9Fj2B3naGBcUDEkIgwhA8=;
\r
28 b=UF7GwM914vrsWFL8JddhuwuNUWh7Sr4mUReG55ulQumOSe27ojGv+FQL5RxoCanosr
\r
29 cZOyS5pOTyftVfcHSVwIhQd0obbJFFvaGB2ix1sG7LamAyd34Cec3qTcAOAQjx7OmUxD
\r
30 zrVx4w2VPvi3JngG+r4ggm1K32+/+/+2UBVw2sDYVM2j2iCpXAnz5q8vDB52Y630Sz5L
\r
31 23x/6LLU+hdUTGDMpnrSlg47gA0p2pxT/0m+6UIZf4FGqHdlkyaJ33TJTKIrqGuClwyq
\r
32 LwS13Z8bs5pExRbUvZXhRMgxn/N4kr6vCtcu4LosMz++yxn1QdNCN+An75HOiqF7sOmJ
\r
34 X-Received: by 10.152.37.164 with SMTP id z4mr10769085laj.21.1369480159020;
\r
35 Sat, 25 May 2013 04:09:19 -0700 (PDT)
\r
36 Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi.
\r
38 by mx.google.com with ESMTPSA id n5sm8041480lbe.15.2013.05.25.04.09.17
\r
39 for <multiple recipients>
\r
40 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
41 Sat, 25 May 2013 04:09:18 -0700 (PDT)
\r
42 From: Jani Nikula <jani@nikula.org>
\r
43 To: notmuch@notmuchmail.org
\r
44 Subject: [PATCH] cli: remove unused argument descriptions
\r
45 Date: Sat, 25 May 2013 14:09:13 +0300
\r
46 Message-Id: <1369480153-15190-1-git-send-email-jani@nikula.org>
\r
47 X-Mailer: git-send-email 1.7.10.4
\r
49 ALoCoQle0HdBl5HFQelrZGYpaITWPTK54r7jjlXUCiL/v2EDnuFkOd0RXOe54PQXEgIPJLaf56h5
\r
50 X-BeenThere: notmuch@notmuchmail.org
\r
51 X-Mailman-Version: 2.1.13
\r
53 List-Id: "Use and development of the notmuch mail system."
\r
54 <notmuch.notmuchmail.org>
\r
55 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
56 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
57 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
58 List-Post: <mailto:notmuch@notmuchmail.org>
\r
59 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
60 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
61 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
62 X-List-Received-Date: Sat, 25 May 2013 11:09:27 -0000
\r
64 Clean up leftovers from help system rework. These are no longer
\r
65 needed. They are easy to resurrect and update if a need later arises.
\r
67 notmuch.c | 13 -------------
\r
68 1 file changed, 13 deletions(-)
\r
70 diff --git a/notmuch.c b/notmuch.c
\r
71 index f51a84f..267ce3d 100644
\r
74 @@ -28,7 +28,6 @@ typedef struct command {
\r
76 command_function_t function;
\r
77 notmuch_bool_t create_config;
\r
78 - const char *arguments;
\r
79 const char *summary;
\r
82 @@ -40,40 +39,28 @@ notmuch_command (notmuch_config_t *config, int argc, char *argv[]);
\r
84 static command_t commands[] = {
\r
85 { NULL, notmuch_command, TRUE,
\r
87 "Notmuch main command." },
\r
88 { "setup", notmuch_setup_command, TRUE,
\r
90 "Interactively setup notmuch for first use." },
\r
91 { "new", notmuch_new_command, FALSE,
\r
93 "Find and import new messages to the notmuch database." },
\r
94 { "search", notmuch_search_command, FALSE,
\r
95 - "[options...] <search-terms> [...]",
\r
96 "Search for messages matching the given search terms." },
\r
97 { "show", notmuch_show_command, FALSE,
\r
98 - "<search-terms> [...]",
\r
99 "Show all messages matching the search terms." },
\r
100 { "count", notmuch_count_command, FALSE,
\r
101 - "[options...] <search-terms> [...]",
\r
102 "Count messages matching the search terms." },
\r
103 { "reply", notmuch_reply_command, FALSE,
\r
104 - "[options...] <search-terms> [...]",
\r
105 "Construct a reply template for a set of messages." },
\r
106 { "tag", notmuch_tag_command, FALSE,
\r
107 - "+<tag>|-<tag> [...] [--] <search-terms> [...]" ,
\r
108 "Add/remove tags for all messages matching the search terms." },
\r
109 { "dump", notmuch_dump_command, FALSE,
\r
110 - "[<filename>] [--] [<search-terms>]",
\r
111 "Create a plain-text dump of the tags for each message." },
\r
112 { "restore", notmuch_restore_command, FALSE,
\r
113 - "[--accumulate] [<filename>]",
\r
114 "Restore the tags from the given dump file (see 'dump')." },
\r
115 { "config", notmuch_config_command, FALSE,
\r
116 - "[get|set] <section>.<item> [value ...]",
\r
117 "Get or set settings in the notmuch configuration file." },
\r
118 { "help", notmuch_help_command, TRUE, /* create but don't save config */
\r
120 "This message, or more detailed help for the named command." }
\r