From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=ALL_TRUSTED,AWL,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 639651F9FD; Wed, 3 Mar 2021 22:29:30 +0000 (UTC) Date: Wed, 3 Mar 2021 22:29:30 +0000 From: Eric Wong To: meta@public-inbox.org Subject: RFH: --import-augment naming [was: lei q: import flags when clobbering/augmenting] Message-ID: <20210303222930.GA18597@dcvr> References: <20210303134857.7227-1-e@80x24.org> <20210303134857.7227-5-e@80x24.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210303134857.7227-5-e@80x24.org> List-Id: Eric Wong wrote: > This will eventually be supported for other mail stores, > but Maildir is the easiest to test and support, here. > > This lets us avoid a situation where flag changes get > lost between search results. > --- a/lib/PublicInbox/LEI.pm > +++ b/lib/PublicInbox/LEI.pm > @@ -113,7 +113,7 @@ our %CMD = ( # sorted in order of importance/use: > qw(save-as=s output|mfolder|o=s format|f=s dedupe|d=s threads|t+ > sort|s=s reverse|r offset=i remote! local! external! pretty > include|I=s@ exclude=s@ only=s@ jobs|j=s globoff|g augment|a > - import-remote! lock=s@ > + import-remote! import-augment! lock=s@ --import-augment is the wrong name for this option, since the import happens even when --augment isn't specified. How about "--import-before" ?