Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id EE661C433EF for ; Sat, 30 Oct 2021 10:55:38 +0000 (UTC) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id CE08760F92 for ; Sat, 30 Oct 2021 10:55:37 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org CE08760F92 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=inria.fr Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=inria.fr X-IronPort-AV: E=Sophos;i="5.87,195,1631570400"; d="scan'208";a="1269255" Received: from prod-listesu18.inria.fr (HELO sympa.inria.fr) ([128.93.162.160]) by mail2-relais-roc.national.inria.fr with ESMTP; 30 Oct 2021 12:55:37 +0200 Received: by sympa.inria.fr (Postfix, from userid 20132) id CA114E027E; Sat, 30 Oct 2021 12:55:35 +0200 (CEST) Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by sympa.inria.fr (Postfix) with ESMTPS id 858CFE0072 for ; Sat, 30 Oct 2021 12:55:30 +0200 (CEST) IronPort-Data: =?us-ascii?q?A9a23=3ANdJBrKlGkOAq6/y2/oJTbczo5gxHJERdPkR7XQ2?= =?us-ascii?q?eYbTBsI5bpzcGnDFODWmFM/bbN2umfNsna4zn90lS68PRydRlTQJo+CA2RRqmi?= =?us-ascii?q?+KVXIXDdh+Y0wC6d5CYEho/t63yUjRxRSwNZie0SiyFb/6x8hGQ6YnSHuClUba?= =?us-ascii?q?fYngoLeNZYHxJZSxLyrdRbrFA0YDR7zOl4bsekuWHULOX82Yc3lE8t8pvnChSU?= =?us-ascii?q?MHa41v0iLCRicdj5zcyn1FNZH4WyDrYw3HQGuG4FcbiLwrPIS3Qw4/Xw/stIov?= =?us-ascii?q?NfrfTckQGWL/fO2BiiFIGBu780l4b/HV0i/lgXBYfQR4/ZzGhnc11ydwLsZWvQ?= =?us-ascii?q?AMtFqzKguUUFRdCe817FfQcpu6dfCDXXcu7iheun2HX6/NvB0YyNJZe4u9zAHF?= =?us-ascii?q?m6PoZNnUCdB2FgOiyzfeyTvFhnYItNqHDN4QUsXBI1iDcFf9gQJbZQqyM68Uw4?= =?us-ascii?q?duarqiiBt6HOJFfMGA2KkqQJU0SfE0aFtQlkv3ugHTjGwC0YWm9/cIfi1U/BiQ?= =?us-ascii?q?ruFQ1DOfoRw=3D=3D?= IronPort-HdrOrdr: =?us-ascii?q?A9a23=3A1Jlj6q0l4i4EjII3O2IpigqjBIMkLtp133Aq?= =?us-ascii?q?2lEZdPUzSL39qynOpoV/6faQsl0ssR4b6Ki90da7MBThHPJOgbX5F43SOjUOwV?= =?us-ascii?q?HYVb2KjrGSoQEIeReRygc1784JGZSWY+eQMbEVt7eY3OGIeOxM/DF1m5rFuQ6n?= =?us-ascii?q?9RhQcT0=3D?= X-IronPort-AV: E=Sophos;i="5.87,195,1631570400"; d="scan'208";a="1269250" Received: from 173.121.68.85.rev.sfr.net (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 30 Oct 2021 12:55:31 +0200 Date: Sat, 30 Oct 2021 12:55:30 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Nicolas Palix cc: cocci@inria.fr Message-ID: User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Subject: Re: [cocci] Feature request: print status messages to the terminal Reply-To: Julia Lawall X-Loop: cocci@inria.fr X-Sequence: 53 Errors-To: cocci-owner@inria.fr Precedence: list Precedence: bulk Sender: cocci-request@inria.fr X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Archived-At: On Sat, 30 Oct 2021, Nicolas Palix wrote: > Hi, > > On 30/10/2021 11:39, Julia Lawall wrote: > > Hello, > > > > I'm still trying to understand what is the real goal for this issue, to > > see if it could be handled in some other way. Do you want status messages > > to be separated from real errors? Perhaps it would be sufficient to have > > an option that would put the status messages on standard out? Then you > > could give the -o argument to put the generated patch into a file. > > > > I think it could be a --log-output option. > That way, it could be set from the command line to either a file or /dev/tty. > > I was also thinking of a --(show-)progress option otherwise. > > I think it's better to keep the default output for report/patch printing > generated by the SmPL file. OK, I'm not really concerned about the name of the option. But I'm not enthusiastic at all about adding yet another dependency, ie the library you indicated. The idea of an output that always appears on the screen and is not capturable also feels fairly useless to me... julia