All of lore.kernel.org
 help / color / mirror / Atom feed
From: Benjamin Marzinski <bmarzins@redhat.com>
To: Xose Vazquez Perez <xose.vazquez@gmail.com>
Cc: Martin Wilck <mwilck@suse.com>,
	Christophe Varoqui <christophe.varoqui@opensvc.com>,
	DM_DEVEL-ML <dm-devel@lists.linux.dev>
Subject: Re: [PATCH 5/7] multipath-tools: multipathc: print version string on startup
Date: Tue, 1 Dec 2026 11:49:59 -0500	[thread overview]
Message-ID: <aw76t2P5BsNzng_W@redhat.com> (raw)
In-Reply-To: <d438d2cb-3ad8-4048-b361-ebe6016b56ec@gmail.com>

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
>  [...]


  reply	other threads:[~2026-12-01 16:50 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-25 10:25 [PATCH 0/7] multipath-tools: hwtable updates/additions and version output in multipathc Xose Vazquez Perez
2026-11-25 10:25 ` [PATCH 1/7] multipath-tools: hwtable: reformat EMC/Celerra entry Xose Vazquez Perez
2026-11-25 10:25 ` [PATCH 2/7] multipath-tools: hwtable: clarify FlashSystem(RamSan) NVMe comment Xose Vazquez Perez
2026-11-25 10:26 ` [PATCH 3/7] multipath-tools: hwtable: use exact FlashSystem (RamSan) NVMe product ID Xose Vazquez Perez
2026-11-25 10:26 ` [PATCH 4/7] multipath-tools: hwtable: add StorONE/S1 Xose Vazquez Perez
2026-11-25 10:26 ` [PATCH 5/7] multipath-tools: multipathc: print version string on startup Xose Vazquez Perez
2026-11-25 11:42   ` Martin Wilck
2026-11-25 12:58     ` Xose Vazquez Perez
2026-11-25 17:23       ` Martin Wilck
2026-11-30 15:55         ` Benjamin Marzinski
2026-12-01 16:28           ` Xose Vazquez Perez
2026-12-01 16:49             ` Benjamin Marzinski [this message]
2026-11-25 10:26 ` [PATCH 6/7] multipath-tools: hwtable: add Zadara VPSA Xose Vazquez Perez
2026-11-25 10:26 ` [PATCH 7/7] multipath-tools: multipathd.8.in: restore the original layout Xose Vazquez Perez
2026-11-30 15:56 ` [PATCH 0/7] multipath-tools: hwtable updates/additions and version output in multipathc Benjamin Marzinski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aw76t2P5BsNzng_W@redhat.com \
    --to=bmarzins@redhat.com \
    --cc=christophe.varoqui@opensvc.com \
    --cc=dm-devel@lists.linux.dev \
    --cc=mwilck@suse.com \
    --cc=xose.vazquez@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.