[PATCH 3/8] packaging: fedora: trivial cleanups
[notmuch-archives.git] / 5b / 96e1eb6851192f5a92fd857c7ae07f2e405157
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 C1DB9431FC2\r
6         for <notmuch@notmuchmail.org>; Tue, 29 Jan 2013 13:47:08 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References"\r
9 X-Spam-Flag: NO\r
10 X-Spam-Score: -0.7\r
11 X-Spam-Level: \r
12 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
13         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id p8P25tJoGZBy for <notmuch@notmuchmail.org>;\r
17         Tue, 29 Jan 2013 13:47:08 -0800 (PST)\r
18 Received: from mail-lb0-f175.google.com (mail-lb0-f175.google.com\r
19         [209.85.217.175]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id 0E409431FC3\r
22         for <notmuch@notmuchmail.org>; Tue, 29 Jan 2013 13:47:03 -0800 (PST)\r
23 Received: by mail-lb0-f175.google.com with SMTP id n3so1311291lbo.6\r
24         for <notmuch@notmuchmail.org>; Tue, 29 Jan 2013 13:47:02 -0800 (PST)\r
25 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;\r
26         d=google.com; s=20120113;\r
27         h=x-received:from:to:subject:date:message-id:x-mailer:in-reply-to\r
28         :references:in-reply-to:references:x-gm-message-state;\r
29         bh=zuQO6SOA1CaSVBBXUG/vfJuuMXcuewvzBJ9xEY6kTSU=;\r
30         b=mRUdgbSA7C8pIr10ekj7Ncc69cUfOQWsxsa2kaKNIGhhzH8NxTQCFCQmjBTowJpUl+\r
31         ltuLvh+4ojqC2HrjItcS9Z16EhtFI+IMcn2aLldD/s5dl7hE8i/tr+CvZCS5MMC7BzVo\r
32         ksHFTBRadwhwz/RE7SymeM3hVV/9PGoyE1YIcP/UbeoCrljCFwsudlzq5/+F63yf7boh\r
33         YsCkOopyeuM1U7naOTQ+0u+WIdK5QamqT4YtYzpSYP19nyl66H9aYXYbDhJMhKKpeZsP\r
34         8+dIuDb+sOfsIu+iDSWb8AihfrwhG2Ki0GwW3xRhcmAT8I8r9kASqRkQSJApuQTlf1RJ\r
35         Xgyg==\r
36 X-Received: by 10.152.147.36 with SMTP id th4mr2522667lab.19.1359496022562;\r
37         Tue, 29 Jan 2013 13:47:02 -0800 (PST)\r
38 Received: from localhost (dsl-hkibrasgw4-50df51-27.dhcp.inet.fi.\r
39         [80.223.81.27])\r
40         by mx.google.com with ESMTPS id f2sm5596970lbz.4.2013.01.29.13.47.00\r
41         (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
42         Tue, 29 Jan 2013 13:47:01 -0800 (PST)\r
43 From: Jani Nikula <jani@nikula.org>\r
44 To: notmuch@notmuchmail.org\r
45 Subject: [PATCH 6/6] cli: add top level --config=FILE option\r
46 Date: Tue, 29 Jan 2013 23:46:24 +0200\r
47 Message-Id:\r
48  <231895226338fb6b24eea0ffeef565992822aca8.1359495450.git.jani@nikula.org>\r
49 X-Mailer: git-send-email 1.7.10.4\r
50 In-Reply-To: <cover.1359495450.git.jani@nikula.org>\r
51 References: <cover.1359495450.git.jani@nikula.org>\r
52 In-Reply-To: <cover.1359495450.git.jani@nikula.org>\r
53 References: <cover.1359495450.git.jani@nikula.org>\r
54 X-Gm-Message-State:\r
55  ALoCoQl7pwOxno2S+5esqZEpsNTukxhBc9IL46J4B7LFZmood7UmtqTF+GxsuvumLAkFeq26ASML\r
56 X-BeenThere: notmuch@notmuchmail.org\r
57 X-Mailman-Version: 2.1.13\r
58 Precedence: list\r
59 List-Id: "Use and development of the notmuch mail system."\r
60         <notmuch.notmuchmail.org>\r
61 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
62         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
63 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
64 List-Post: <mailto:notmuch@notmuchmail.org>\r
65 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
66 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
67         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
68 X-List-Received-Date: Tue, 29 Jan 2013 21:47:09 -0000\r
69 \r
70 Let the user specify the config file on the command line.\r
71 ---\r
72  notmuch.c |    4 +++-\r
73  1 file changed, 3 insertions(+), 1 deletion(-)\r
74 \r
75 diff --git a/notmuch.c b/notmuch.c\r
76 index f4bfeaa..71cd0d6 100644\r
77 --- a/notmuch.c\r
78 +++ b/notmuch.c\r
79 @@ -258,6 +258,7 @@ main (int argc, char *argv[])\r
80      char *talloc_report;\r
81      const char *command_name = NULL;\r
82      command_t *command;\r
83 +    char *config_file_name = NULL;\r
84      notmuch_config_t *config;\r
85      notmuch_bool_t print_help=FALSE, print_version=FALSE;\r
86      int opt_index;\r
87 @@ -266,6 +267,7 @@ main (int argc, char *argv[])\r
88      notmuch_opt_desc_t options[] = {\r
89         { NOTMUCH_OPT_BOOLEAN, &print_help, "help", 'h', 0 },\r
90         { NOTMUCH_OPT_BOOLEAN, &print_version, "version", 'v', 0 },\r
91 +       { NOTMUCH_OPT_STRING, &config_file_name, "config", 'c', 0 },\r
92         { 0, 0, 0, 0, 0 }\r
93      };\r
94  \r
95 @@ -303,7 +305,7 @@ main (int argc, char *argv[])\r
96         return 1;\r
97      }\r
98  \r
99 -    config = notmuch_config_open (local, NULL, command->create_config);\r
100 +    config = notmuch_config_open (local, config_file_name, command->create_config);\r
101      if (!config)\r
102         return 1;\r
103  \r
104 -- \r
105 1.7.10.4\r
106 \r