From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 335006DE0FB6 for ; Wed, 8 Nov 2017 06:50:54 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[AWL=0.011, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JilO_T4N663W for ; Wed, 8 Nov 2017 06:50:53 -0800 (PST) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 7E0C16DE035A for ; Wed, 8 Nov 2017 06:50:53 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.89) (envelope-from ) id 1eCRcr-0004hw-Rt; Wed, 08 Nov 2017 09:46:45 -0500 Received: (nullmailer pid 11826 invoked by uid 1000); Wed, 08 Nov 2017 14:50:48 -0000 From: David Bremner To: Jani Nikula , notmuch@notmuchmail.org Subject: Re: [PATCH] cli: allow empty strings for notmuch insert --folder argument In-Reply-To: <20171014131543.17521-1-jani@nikula.org> References: <20171014131543.17521-1-jani@nikula.org> Date: Wed, 08 Nov 2017 09:50:48 -0500 Message-ID: <878tfg9647.fsf@tethera.net> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 14:50:54 -0000 Jani Nikula writes: > Now that it's easy to add argument specific modifiers in opt > descriptions, add a new .allow_empty field to allow empty strings for > individual string arguments while retaining strict checks > elsewhere. Use this for notmuch insert --folder, where the empty > string means top level folder. > Series pushed to master. d