From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796143808; b=A1mbex+2gxdWV5QZ84RC7SFFnD0U3XS4L4KykALr+UlIXz0uM35C31+yU4rNCtRB2JV/ COZL6ryP/D+Xsadno9yAst7naEyPr+7fgbpNRr4UvmS4lMmXIMDmh+4pc4I0imn4YRHTo R9dYs4ajyhhLM9FrmEwUbk+kAzl7hMMTrrVo1vJdYqSBeItWy+rVoh7zKJWQWAixE7DNb kpWlAXyu056o5220NvdgbIo/gOsVRBvrEX6SfabWBSF/OqO39kxXIp1EYC7eulL8NLwP1 NQ8aPqp85J5n+PBuqmBbr8Zh5uTgMHlM/Tj9B4/GaOWFqEq5HkfZJ32ONNFtzUBkdOA== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796143808; h=DMARC-Filter:DKIM-Signature:X-MC-Rep:Received:X-MC-Unique: X-Mimecast-MFC-AGG-ID:Received:Received:Received:Received:Date:From: To:Cc:Subject:Message-ID:References:MIME-Version:In-Reply-To: X-Scanned-By:X-Mimecast-Spam-Score:X-Mimecast-MFC-PROC-ID: X-Mimecast-Originator:Content-Type:Content-Disposition; bh=XwYNZLkq8ACPEegI+wRHcjvsimYU4ZWnUPrDUC+QxIY=; b=NOO+/pfjkBm2cC8eW7lkhwM6pEQZyDLakgOfD9VNhJtbOiP9b3cDPkzU0HGWR560lDuC vtcBLeOVEkdkWT0QMimYZdyoOlJMKHFm9TWFQZEZMCSSRUHMeg65I1tZeCy52jpv1ggAK HXcY1o/6LUSLzUGjA8jgmBML1wpXpN0Jq4sPGlQ/SISmwbrPAw1eRdSYk68PH5QddjgJK 9ZAqWuth/bgmgV4ICUE7HCI4U0ThgIWVJKDC+AAxhTkFIjpR/3KumO4UZBFHxOGMXqi0F wCMrh9zLOSLBeL6rex2Y3xtxxdt8HAUrXjJh5CDkrBYrI7O8BeRlMl2nj1FW68r4tEg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=LDKqYOhU; arc=none smtp.remote-ip=170.10.129.124 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DC881606A31A for ; Tue, 1 Dec 2026 16:50:07 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org DC881606A31A Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=LDKqYOhU DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1796143806; 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: in-reply-to:in-reply-to:references:references; bh=XwYNZLkq8ACPEegI+wRHcjvsimYU4ZWnUPrDUC+QxIY=; b=LDKqYOhUMETutVDmmgo/DjYwQbUFlrmWm/Db5hdCPpwv9EW862WkHDafr5Z6j/gOM0dt6T dy92XWXJxgE55lL+GncEZGphWVKlk+FV40z61FK0Tn/LyfZFDMAJFX5ZuvbqEbjpeRO8lw gmgx2V74ZeHOpsz9/v6eITT6Jmu1UPI= X-MC-Rep: binary re single Received: from mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-633-ZFfPItE5Nkqgy3n3bp_cuA-1; Tue, 1 Dec 2026 16:50:03 +0000 X-MC-Unique: ZFfPItE5Nkqgy3n3bp_cuA-1 X-Mimecast-MFC-AGG-ID: ZFfPItE5Nkqgy3n3bp_cuA_1796143802 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mx-prod-mc-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id C34A7180AE03; Tue, 1 Dec 2026 16:50:01 +0000 (UTC) Received: from bmarzins-01.fast.eng.rdu2.dc.redhat.com (bmarzins-01.fast.eng.rdu2.dc.redhat.com [10.6.23.12]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 58ABD1801A7E; Tue, 1 Dec 2026 16:50:01 +0000 (UTC) Received: from bmarzins-01.fast.eng.rdu2.dc.redhat.com (localhost [127.0.0.1]) by bmarzins-01.fast.eng.rdu2.dc.redhat.com (8.18.1/8.17.1) with ESMTPS id 6B1Go0am4094963 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Tue, 1 Dec 2026 11:50:00 -0500 Received: (from bmarzins@localhost) by bmarzins-01.fast.eng.rdu2.dc.redhat.com (8.18.1/8.18.1/Submit) id 6B1GnxPx4094960; Tue, 1 Dec 2026 11:49:59 -0500 Date: Tue, 1 Dec 2026 11:49:59 -0500 From: Benjamin Marzinski To: Xose Vazquez Perez Cc: Martin Wilck , Christophe Varoqui , DM_DEVEL-ML Subject: Re: [PATCH 5/7] multipath-tools: multipathc: print version string on startup Message-ID: References: <20261125102605.82009-1-xose.vazquez@gmail.com> <20261125102605.82009-6-xose.vazquez@gmail.com> <206823f9-af78-4838-bd42-dd5e7b2c8093@gmail.com> <8b4ea279ac2533e66eccd31e49af8bdb9a79ccb9.camel@suse.com> X-Mailing-List: dm-devel@lists.linux.dev List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 X-Mimecast-Spam-Score: 0 X-Mimecast-MFC-PROC-ID: 3nU77sEI3ntqn2erv1RcaddG8iKaZTdO1evzFDOQCGM_1796143802 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Tue, Dec 01, 2026 at 05:28:56PM +0100, Xose Vazquez Perez wrote: > On 11/30/26 4:55 PM, Benjamin Marzinski wrote: > > > On Wed, Nov 25, 2026 at 06:23:01PM +0100, Martin Wilck wrote: > > > I don't want this startup message, sorry. multipathc may be used in > > > scripts which I don't want to confuse with stderr output which will > > > be pointless in 90% of cases. > > > > > > Implementtation of "help" would of course be a welcome addition. > > > > I agree with Martin on this. > > > > Also technically, "help" does show all the commands like the man page > > says (so does entering "hlep", or any other unrecognized keyword). > > Fair enough, drop this patch. > Still, it feels a bit odd having to rely on that trick just to see > the version or help: Yeah, I agree that we should have an actual help command that doesn't return an error. I was just jokingly pointing out that it does do what the documentation says. If you enter "help", multipathd does print out all the available commands as part of the error message. -Ben > > # multipathc > multipathd> help > fail > help: not found > multipath-tools v0.14.3 (02/05, 2026) > CLI commands reference: > list|show paths > [...]