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 arlo.cworth.org (Postfix) with ESMTP id 09A6B6DE19CE
\r
6 for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 09:30:38 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.539 tagged_above=-999 required=5 tests=[AWL=0.181,
\r
12 RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id lvFmVd0nDFCu for <notmuch@notmuchmail.org>;
\r
17 Sat, 17 Oct 2015 09:30:36 -0700 (PDT)
\r
18 Received: from mail-wi0-f180.google.com (mail-wi0-f180.google.com
\r
20 by arlo.cworth.org (Postfix) with ESMTPS id 170256DE02DD
\r
21 for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 09:30:36 -0700 (PDT)
\r
22 Received: by wicll6 with SMTP id ll6so45288116wic.0
\r
23 for <notmuch@notmuchmail.org>; Sat, 17 Oct 2015 09:30:34 -0700 (PDT)
\r
24 X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
\r
25 d=1e100.net; s=20130820;
\r
26 h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to
\r
28 bh=RiP6Gnm44jJ9B3u/lyIvwbZrL16/0k1jkxqrhcZpwJg=;
\r
29 b=W5w1Y26Dl+Uvtct+OFIC47ClaBpRZHJkuIye7j7WakA+uSYCqPbOuQzz7BFS8wPaQH
\r
30 wW+wiPhUViVptLc0rQwmp3f2OGkxLmA7+fVXqlcj0+CXjYA2sFtWqAaP3J7ejS8deu8Z
\r
31 fdFkjIBNlZ3s7a0RtzVmHXDOpHPDkNDt2ubKpz+FblZcVhwQpABrqGsiFYfit2j1J0ol
\r
32 o3+zSq0llWtW8qMkq24WcOqiTOMVz3FwClCXxz4/Kr0441qn4KR1uKo2hBwSTxkvSai5
\r
33 +81V40L8llVyoXGPX5bfCjba0ENNB9wXyXI4e76vfqb2HCz7VejbcjK6Y+yv+RFJ6+mz
\r
36 ALoCoQnCQrk8CYv1gat3Lv2y1bdvLfhzTSTl/ccatIxz3x9ahQ2VWBh7q6HG67ttCo9bnM8P2oeO
\r
37 X-Received: by 10.194.118.234 with SMTP id kp10mr3843296wjb.59.1445099434537;
\r
38 Sat, 17 Oct 2015 09:30:34 -0700 (PDT)
\r
39 Received: from localhost (mobile-access-bcee43-111.dhcp.inet.fi.
\r
41 by smtp.gmail.com with ESMTPSA id go5sm7682607wib.3.2015.10.17.09.30.33
\r
42 (version=TLSv1/SSLv3 cipher=OTHER);
\r
43 Sat, 17 Oct 2015 09:30:34 -0700 (PDT)
\r
44 From: Jani Nikula <jani@nikula.org>
\r
45 To: notmuch@notmuchmail.org
\r
46 Subject: [PATCH 3/3] completion: clean up top level completion
\r
47 Date: Sat, 17 Oct 2015 19:30:03 +0300
\r
48 Message-Id: <1445099403-25998-3-git-send-email-jani@nikula.org>
\r
49 X-Mailer: git-send-email 2.1.4
\r
50 In-Reply-To: <1445099403-25998-1-git-send-email-jani@nikula.org>
\r
51 References: <1443265970-9875-1-git-send-email-jani@nikula.org>
\r
52 <1445099403-25998-1-git-send-email-jani@nikula.org>
\r
53 X-BeenThere: notmuch@notmuchmail.org
\r
54 X-Mailman-Version: 2.1.18
\r
56 List-Id: "Use and development of the notmuch mail system."
\r
57 <notmuch.notmuchmail.org>
\r
58 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
59 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
60 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
61 List-Post: <mailto:notmuch@notmuchmail.org>
\r
62 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
63 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
64 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
65 X-List-Received-Date: Sat, 17 Oct 2015 16:30:38 -0000
\r
67 Add note about missing features.
\r
69 completion/notmuch-completion.bash | 11 ++++++++---
\r
70 1 file changed, 8 insertions(+), 3 deletions(-)
\r
72 diff --git a/completion/notmuch-completion.bash b/completion/notmuch-completion.bash
\r
73 index 1356c4a40515..f24d9ecd337f 100644
\r
74 --- a/completion/notmuch-completion.bash
\r
75 +++ b/completion/notmuch-completion.bash
\r
76 @@ -484,10 +484,15 @@ _notmuch()
\r
78 if [ -z "${arg}" ]; then
\r
79 # top level completion
\r
80 - local top_options="--help --version"
\r
82 - -*) COMPREPLY=( $(compgen -W "${top_options}" -- ${cur}) ) ;;
\r
83 - *) COMPREPLY=( $(compgen -W "${_notmuch_commands}" -- ${cur}) ) ;;
\r
85 + # XXX: handle ${_notmuch_shared_options} and --config=
\r
86 + local options="--help --version"
\r
87 + COMPREPLY=( $(compgen -W "${options}" -- ${cur}) )
\r
90 + COMPREPLY=( $(compgen -W "${_notmuch_commands}" -- ${cur}) )
\r
93 elif [ "${arg}" = "help" ]; then
\r
94 # handle help command specially due to _notmuch_commands usage
\r