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=-4.0 required=3.0 tests=ALL_TRUSTED,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 B0B481F8C2; Sun, 7 Feb 2021 20:59:02 +0000 (UTC) Date: Sun, 7 Feb 2021 19:59:02 -0100 From: Eric Wong To: Kyle Meyer Cc: meta@public-inbox.org Subject: Re: lei q --output vs --mfolder [was: [PATCH 1/2] doc: start manpages for lei commands] Message-ID: <20210207205902.GA24479@dcvr> References: <20210201055704.26683-1-kyle@kyleam.com> <20210201055704.26683-2-kyle@kyleam.com> <20210207195829.GA7349@dcvr> <871rdrzkhr.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <871rdrzkhr.fsf@kyleam.com> List-Id: Kyle Meyer wrote: > Eric Wong writes: > > Kyle Meyer wrote: > >> +++ b/Documentation/lei-q.pod > > > >> +=item -o PATH, --output=PATH, --mfolder=PATH > >> + > >> +Destination for results (e.g., C or - for stdout). > > > > Fwiw, I didn't really like the term "mfolder" but that's what > > mairix users are used to... Perhaps: > > > > =item -o MFOLDER, --output=MFOLDER > > > > Or is "mfolder" not that bad and we ditch --output instead? > > Yeah, I don't like "mfolder" either. In the --thread{,s} case, > consistency seemed worth it to me because either one sounded okay, and a > one character difference is easy to not notice. But in this case, I > think --output is the better name, so if we're dropping one, I'd vote to > cast out --mfolder. Alright, I'll think about dropping ... Right now, it's still supported, but masked out of --help output but with a "MFOLDER" placeholder. Perhaps a note in the man page noting it's mairix analogue is sufficient? > Using MFOLDER rather than PATH as the metavariable seems a bit confusing > to me because the target isn't a directory for --format values other > than "maildir". Fwiw, mairix uses "mfolder" for mbox and IMAP destinations, too; (I've never used IMAP with mairix, but have every intention of supporting IMAP in lei). "LOCATION" may also be a suitable placeholder *shrug*