1 Return-Path: <tomi.ollila@iki.fi>
\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 84C46431FAF
\r
6 for <notmuch@notmuchmail.org>; Tue, 10 Mar 2015 01:04:13 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=2.438 tagged_above=-999 required=5
\r
12 tests=[DNS_FROM_AHBL_RHSBL=2.438] 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 cEIcig4d4-NC for <notmuch@notmuchmail.org>;
\r
16 Tue, 10 Mar 2015 01:04:10 -0700 (PDT)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 33E75431FAE
\r
19 for <notmuch@notmuchmail.org>; Tue, 10 Mar 2015 01:04:10 -0700 (PDT)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id 6C554100033;
\r
22 Tue, 10 Mar 2015 10:03:44 +0200 (EET)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: David Bremner <david@tethera.net>, Jani Nikula <jani@nikula.org>,
\r
25 notmuch@notmuchmail.org
\r
26 Subject: Re: [PATCH 1/2] cli: fix top level --help combined with other options
\r
27 In-Reply-To: <87egoytzsm.fsf@maritornes.cs.unb.ca>
\r
28 References: <1425831535-15920-1-git-send-email-jani@nikula.org>
\r
29 <87egoytzsm.fsf@maritornes.cs.unb.ca>
\r
30 User-Agent: Notmuch/0.19+53~gb45d2f9 (http://notmuchmail.org) Emacs/24.3.1
\r
31 (x86_64-unknown-linux-gnu)
\r
32 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
33 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
34 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
35 Date: Tue, 10 Mar 2015 10:03:44 +0200
\r
36 Message-ID: <m2twxtb7of.fsf@guru.guru-group.fi>
\r
38 Content-Type: text/plain
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.13
\r
42 List-Id: "Use and development of the notmuch mail system."
\r
43 <notmuch.notmuchmail.org>
\r
44 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
47 List-Post: <mailto:notmuch@notmuchmail.org>
\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
49 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
51 X-List-Received-Date: Tue, 10 Mar 2015 08:04:13 -0000
\r
53 On Mon, Mar 09 2015, David Bremner <david@tethera.net> wrote:
\r
55 > Jani Nikula <jani@nikula.org> writes:
\r
57 >> - ret = notmuch_help_command (NULL, argc - 1, &argv[1]);
\r
59 >> + * Pass the first positional argument as argv[1] so the help
\r
60 >> + * command can give help for it. The help command ignores the
\r
61 >> + * argv[0] passed to it.
\r
63 >> + ret = notmuch_help_command (NULL, argc - opt_index + 1,
\r
64 >> + argv + opt_index - 1);
\r