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 DDFD6429E21
\r
6 for <notmuch@notmuchmail.org>; Sun, 13 Nov 2011 14:47:34 -0800 (PST)
\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 2XOHudqfMdDC for <notmuch@notmuchmail.org>;
\r
16 Sun, 13 Nov 2011 14:47:34 -0800 (PST)
\r
17 Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com
\r
18 [209.85.214.53]) (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 211F2431FB6
\r
21 for <notmuch@notmuchmail.org>; Sun, 13 Nov 2011 14:47:33 -0800 (PST)
\r
22 Received: by bkaq10 with SMTP id q10so6354254bka.26
\r
23 for <notmuch@notmuchmail.org>; Sun, 13 Nov 2011 14:47:31 -0800 (PST)
\r
24 Received: by 10.204.41.66 with SMTP id n2mr16692496bke.77.1321224451254;
\r
25 Sun, 13 Nov 2011 14:47:31 -0800 (PST)
\r
26 Received: from localhost (dsl-hkibrasgw4-fe5cdc00-23.dhcp.inet.fi.
\r
28 by mx.google.com with ESMTPS id dq2sm27464889bkb.11.2011.11.13.14.47.28
\r
29 (version=SSLv3 cipher=OTHER); Sun, 13 Nov 2011 14:47:30 -0800 (PST)
\r
30 From: Jani Nikula <jani@nikula.org>
\r
31 To: notmuch@notmuchmail.org,
\r
33 Subject: [PATCH 0/6] cli getoptification
\r
34 Date: Mon, 14 Nov 2011 00:47:20 +0200
\r
35 Message-Id: <cover.1321223343.git.jani@nikula.org>
\r
36 X-Mailer: git-send-email 1.7.5.4
\r
37 X-BeenThere: notmuch@notmuchmail.org
\r
38 X-Mailman-Version: 2.1.13
\r
40 List-Id: "Use and development of the notmuch mail system."
\r
41 <notmuch.notmuchmail.org>
\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
43 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
45 List-Post: <mailto:notmuch@notmuchmail.org>
\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
48 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
49 X-List-Received-Date: Sun, 13 Nov 2011 22:47:35 -0000
\r
51 Hi, this set switches to getopt_long for parsing command line options where
\r
52 applicable, and hopefully makes David happy. ;)
\r
54 This is on top of id:"cover.1321217854.git.jani@nikula.org".
\r
56 This was a fairly quick exercise, so watch out for bugs. getopt_long does have
\r
57 subtle differences from the original. All the tests pass after patch 6/6.
\r
64 cli: notmuch new: use getopt_long for parsing command line options
\r
65 cli: notmuch search: use getopt_long for parsing command line options
\r
66 cli: notmuch show: use getopt_long for parsing command line options
\r
67 cli: notmuch count: use getopt_long for parsing command line options
\r
68 cli: notmuch reply: use getopt_long for parsing command line options
\r
69 test: emacs-large-search-buffer: expected results according to
\r
72 notmuch-client.h | 1 +
\r
73 notmuch-count.c | 33 ++++++++-------
\r
74 notmuch-new.c | 20 +++++++--
\r
75 notmuch-reply.c | 40 ++++++++++--------
\r
76 notmuch-search.c | 90 +++++++++++++++++++++------------------
\r
77 notmuch-show.c | 61 +++++++++++++++-----------
\r
78 test/emacs-large-search-buffer | 2 +-
\r
79 7 files changed, 141 insertions(+), 106 deletions(-)
\r