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 E03B21F9FD; Fri, 19 Feb 2021 11:13:34 +0000 (UTC) Date: Fri, 19 Feb 2021 11:13:34 +0000 From: Eric Wong To: Kyle Meyer Cc: meta@public-inbox.org Subject: Re: does "lei q" --format/-f need to exist? Message-ID: <20210219111334.GA25690@dcvr> References: <20210217044032.GA17934@dcvr> <87r1le2bdo.fsf@kyleam.com> <20210218120722.GA14112@dcvr> <87k0r43g7w.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87k0r43g7w.fsf@kyleam.com> List-Id: Kyle Meyer wrote: > Eric Wong writes: > > > How about we just drop --format from the documentation, for now? > > (or at least stop recommending it when using with -o) > > > > The stdout case might be a reason to keep it for "lei q", > > especially since stdout is the default output: > [...] > > I don't feel strongly one way or the other about keeping --format, but > if it is kept around for stdout, I think it'd be good to document it > (i.e. your "stop recommending it when using with -o option"). Alright, I think keeping it and only recommending it for stdout (or --stdin with import) is the way to go. "-o format:/path/name" should be encouraged for regular file and directory args. Do you have time to update the current manpages? Thanks in advance if so, otherwise I'll try to do it at some point.... On a side note, it also occurs to me some users may expect paths like /dev/fd/[0-2] or /proc/self/fd/[0-2] to work like the /dev/stdout handling in lei-daemon. We'll have to account for that in daemon mode...