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 D2FF3431FC4
\r
6 for <notmuch@notmuchmail.org>; Mon, 10 Jun 2013 09:28:49 -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 l1kifQY9g5y1 for <notmuch@notmuchmail.org>;
\r
16 Mon, 10 Jun 2013 09:28:42 -0700 (PDT)
\r
17 Received: from mail-lb0-f178.google.com (mail-lb0-f178.google.com
\r
18 [209.85.217.178]) (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 197B9431FB6
\r
21 for <notmuch@notmuchmail.org>; Mon, 10 Jun 2013 09:28:41 -0700 (PDT)
\r
22 Received: by mail-lb0-f178.google.com with SMTP id y6so5024943lbh.9
\r
23 for <notmuch@notmuchmail.org>; Mon, 10 Jun 2013 09:28:40 -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:in-reply-to:references
\r
27 :x-gm-message-state;
\r
28 bh=R9kPXSyS7hq59WrlCm1YhNzYFza7FFoweiEEWLL4uC4=;
\r
29 b=Va9jm5eienQLPjf6tJsRq8GsjwB3MaoSo7L9zfe4U5gFXgdB36WqdD9f8BBYlPSNuX
\r
30 PWMmQhgO6e41TqLBR+8fhdgCXxccDVWTWzOzmQWNZi4Dt/r0mG6ZXvJ+LNEv5XJusIEy
\r
31 VX/IBjvt66ptUjl4UcjeFS/Czjgr+8HO/FvL/D2K4xnac6KNg9Dc1vf3N1W5fXyxaV4s
\r
32 bDQtKDusI69JTLfG4O2daJaf3rmqB06ueGQfwtOgaUD9r8Pj/pJAzl9Dus5W8HWhkJOA
\r
33 +RlkIPjQ4Df8N/4gPIVN9M134RVE0OhABmAWTR5sMWWjyf3EYfdMR8MOvlFwJeUVhXJO
\r
35 X-Received: by 10.152.116.7 with SMTP id js7mr5336485lab.7.1370881720639;
\r
36 Mon, 10 Jun 2013 09:28:40 -0700 (PDT)
\r
37 Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi.
\r
39 by mx.google.com with ESMTPSA id a3sm5958543lbg.2.2013.06.10.09.28.38
\r
40 for <multiple recipients>
\r
41 (version=TLSv1.2 cipher=RC4-SHA bits=128/128);
\r
42 Mon, 10 Jun 2013 09:28:39 -0700 (PDT)
\r
43 From: Jani Nikula <jani@nikula.org>
\r
44 To: notmuch@notmuchmail.org,
\r
45 Mark Walters <markwalters1009@gmail.com>
\r
46 Subject: [PATCH v3] man: document notmuch search --duplicate=N
\r
47 Date: Mon, 10 Jun 2013 19:28:34 +0300
\r
48 Message-Id: <1370881714-3303-1-git-send-email-jani@nikula.org>
\r
49 X-Mailer: git-send-email 1.7.10.4
\r
51 <e72d722da8706559142fcb3ea2626990b39192c5.1370775663.git.jani@nikula.org>
\r
53 <e72d722da8706559142fcb3ea2626990b39192c5.1370775663.git.jani@nikula.org>
\r
55 ALoCoQkF7piGjokuuuPLA3cKNT3QqwfvDtpfPXS4NcMqm0zbSaE3f0SQ5OSzpC9SCkUc1BIB4bIt
\r
56 X-BeenThere: notmuch@notmuchmail.org
\r
57 X-Mailman-Version: 2.1.13
\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: Mon, 10 Jun 2013 16:28:50 -0000
\r
72 v3: clarify dupe vs. folder prefix per Mark's suggestion
\r
74 man/man1/notmuch-search.1 | 20 ++++++++++++++++++++
\r
75 1 file changed, 20 insertions(+)
\r
77 diff --git a/man/man1/notmuch-search.1 b/man/man1/notmuch-search.1
\r
78 index 1c1e049..957b24b 100644
\r
79 --- a/man/man1/notmuch-search.1
\r
80 +++ b/man/man1/notmuch-search.1
\r
81 @@ -80,6 +80,10 @@ Output the filenames of all messages matching the search terms, either
\r
82 one per line (\-\-format=text), separated by null characters
\r
83 (\-\-format=text0), as a JSON array (\-\-format=json), or as an
\r
84 S-Expression list (\-\-format=sexp).
\r
86 +Note that each message may have multiple filenames associated with it.
\r
87 +All of them are included in the output, unless limited with the
\r
88 +\-\-duplicate=N option.
\r
92 @@ -158,6 +162,22 @@ but the "match count" is the number of matching non-excluded messages in the
\r
93 thread, rather than the number of matching messages.
\r
98 +.BR \-\-duplicate=N
\r
101 +.BR --output=files ,
\r
102 +output the Nth filename associated with each message matching the
\r
103 +query (N is 1-based). If N is greater than the number of files
\r
104 +associated with the message, don't print anything.
\r
106 +Note that this option is orthogonal with the
\r
108 +search prefix. The prefix matches messages based on filenames. This
\r
109 +option filters filenames of the matching messages.
\r
114 This command supports the following special exit status codes
\r