From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by passt.top (Postfix) with ESMTP id 5DD2E5A026D for ; Mon, 5 Jun 2023 07:19:44 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1685942383; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Dx+Kb6UrrY07R1JoAOvDfJWmBL7yirBl3x+mUavMF2I=; b=Hn4di9DLtPSy9LXx1CM8jrHBGdNDZSRe3otj8cM8ofG2llfCvVwXBz1hMHb3LS4jG3qVVK A1A5RUnPuOj2ixoGwl0VpCcJNwT08dnFKpQ8V22X3uOo780p8CCDTTSEIGnCK85CKm3KB5 Fojq2HSgydX/2ev1NV2jsEo8IkD8dK4= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-18-gCU5Da63Nbe5n0uyXE9g5A-1; Mon, 05 Jun 2023 01:19:41 -0400 X-MC-Unique: gCU5Da63Nbe5n0uyXE9g5A-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 6464E38025ED; Mon, 5 Jun 2023 05:19:41 +0000 (UTC) Received: from elisabeth (unknown [10.39.208.3]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 636F4492B00; Mon, 5 Jun 2023 05:19:40 +0000 (UTC) Date: Mon, 5 Jun 2023 07:19:38 +0200 From: Stefano Brivio To: David Gibson Subject: Re: [PATCH] conf, log: On -h / --help, print usage to stdout, not stderr Message-ID: <20230605071938.5b304587@elisabeth> In-Reply-To: References: <20230604055001.619958-1-sbrivio@redhat.com> Organization: Red Hat MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Message-ID-Hash: 2TNWVLAJJF4FCMCXLNPQMDSX6JSQPKZG X-Message-ID-Hash: 2TNWVLAJJF4FCMCXLNPQMDSX6JSQPKZG X-MailFrom: sbrivio@redhat.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: passt-dev@passt.top, Erik =?UTF-8?B?U2rDtmx1bmQ=?= X-Mailman-Version: 3.3.8 Precedence: list List-Id: Development discussion and patches for passt Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, 5 Jun 2023 12:17:35 +1000 David Gibson wrote: > On Sun, Jun 04, 2023 at 07:50:01AM +0200, Stefano Brivio wrote: > > Erik suggests that this makes it easier to grep for options, and with > > --help we're anyway printing usage information as expected, not as > > part of an error report. > >=20 > > Reported-by: Erik Sj=C3=B6lund > > Link: https://bugs.passt.top/show_bug.cgi?id=3D52 > > Signed-off-by: Stefano Brivio =20 >=20 > Clunky way to accomplish it, but it'll do for now. Oops, wait until you see v2... --=20 Stefano