1 Return-Path: <wking@tremily.us>
\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 05816429E3F
\r
6 for <notmuch@notmuchmail.org>; Mon, 3 Feb 2014 03:00:58 -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
12 X-Spam-Status: No, score=0 tagged_above=-999 required=5
\r
13 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001]
\r
15 Received: from olra.theworths.org ([127.0.0.1])
\r
16 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
17 with ESMTP id iRiMkbPs6wKv for <notmuch@notmuchmail.org>;
\r
18 Mon, 3 Feb 2014 03:00:52 -0800 (PST)
\r
19 Received: from qmta06.westchester.pa.mail.comcast.net
\r
20 (qmta06.westchester.pa.mail.comcast.net [76.96.62.56])
\r
21 by olra.theworths.org (Postfix) with ESMTP id DDC9C429E2E
\r
22 for <notmuch@notmuchmail.org>; Mon, 3 Feb 2014 03:00:40 -0800 (PST)
\r
23 Received: from omta04.westchester.pa.mail.comcast.net ([76.96.62.35])
\r
24 by qmta06.westchester.pa.mail.comcast.net with comcast
\r
25 id Mn091n0010ldTLk56n0gTT; Mon, 03 Feb 2014 11:00:40 +0000
\r
26 Received: from odin.tremily.us ([24.18.63.50])
\r
27 by omta04.westchester.pa.mail.comcast.net with comcast
\r
28 id Mn0f1n00R152l3L01n0gjm; Mon, 03 Feb 2014 11:00:40 +0000
\r
29 Received: from mjolnir.tremily.us (unknown [192.168.0.140])
\r
30 by odin.tremily.us (Postfix) with ESMTPS id 6C787FB4D49;
\r
31 Mon, 3 Feb 2014 03:00:39 -0800 (PST)
\r
32 Received: (nullmailer pid 687 invoked by uid 1000);
\r
33 Mon, 03 Feb 2014 10:59:41 -0000
\r
34 From: "W. Trevor King" <wking@tremily.us>
\r
35 To: notmuch@notmuchmail.org
\r
36 Subject: [PATCH 05/17] nmbug-status: Add metavars for --config and --get-query
\r
37 Date: Mon, 3 Feb 2014 02:59:23 -0800
\r
39 <fc27998c73c499b752b1c0ad578e402291f7a9e0.1391424512.git.wking@tremily.us>
\r
40 X-Mailer: git-send-email 1.8.5.2.8.g0f6c0d1
\r
41 In-Reply-To: <cover.1391424512.git.wking@tremily.us>
\r
42 References: <cover.1391424512.git.wking@tremily.us>
\r
43 In-Reply-To: <cover.1391424512.git.wking@tremily.us>
\r
44 References: <cover.1391424512.git.wking@tremily.us>
\r
45 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net;
\r
46 s=q20121106; t=1391425240;
\r
47 bh=5sGDyEJD3pNSZ4GpvD4lY23E9sC1eX3vdlb2cYXar+c=;
\r
48 h=Received:Received:Received:Received:From:To:Subject:Date:
\r
50 b=XgqBVE2Pi2DIh+xZXblzTpvP/C1stWL161xAUvgczEa6dU7Fasla3U2dtUaNzT4Lp
\r
51 nCWGOYme5Jv4ut8wuyeo4XuQBxny5WlaZJym27215+Nhcc4bqFQoHI3FGvifxTGM01
\r
52 usye59gGxqHl2ukEw7yzaoJRgaKqRwebNCSoToSMoYLPAPmS4SPoFIJOLKqm1AarFZ
\r
53 FAy3hopk5yUUjnH0qhY+420RgAu4bs9pQrsPSobPcyK5R0qmNiv+M57vaWuPWDh38G
\r
54 /JCh/fQBxomlTIr9hoU78Ap9R3Cwv5zCl2XakrgINV+EmNXqwAN80G7QAzgEweuKR+
\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, 03 Feb 2014 11:00:58 -0000
\r
70 Now the suggested usage (listed by 'nmbug-status --help') is:
\r
72 usage: nmbug-status [-h] [--text] [--config PATH] [--list-views]
\r
75 instead of the less obvious:
\r
77 usage: nmbug-status [-h] [--text] [--config CONFIG] [--list-views]
\r
78 [--get-query GET_QUERY]
\r
80 devel/nmbug/nmbug-status | 6 ++++--
\r
81 1 file changed, 4 insertions(+), 2 deletions(-)
\r
83 diff --git a/devel/nmbug/nmbug-status b/devel/nmbug/nmbug-status
\r
84 index 6dfbe4d..22eeb5c 100755
\r
85 --- a/devel/nmbug/nmbug-status
\r
86 +++ b/devel/nmbug/nmbug-status
\r
87 @@ -52,10 +52,12 @@ def read_config(path=None, encoding=None):
\r
88 parser = argparse.ArgumentParser()
\r
89 parser.add_argument('--text', help='output plain text format',
\r
90 action='store_true')
\r
91 -parser.add_argument('--config', help='load config from given file')
\r
92 +parser.add_argument('--config', help='load config from given file',
\r
94 parser.add_argument('--list-views', help='list views',
\r
95 action='store_true')
\r
96 -parser.add_argument('--get-query', help='get query for view')
\r
97 +parser.add_argument('--get-query', help='get query for view',
\r
100 args = parser.parse_args()
\r