On Mon, 2 Mar 2026 at 10:04, Bruce Richardson
<[email protected]> wrote:
> > > > > Or:
> > > > >
> > > > > BOOL_ARG("--no-autoprobe", "-P", "Disable automatic probing of 
> > > > > non-blocked devices", no_autoprobe)
> > > >
> > > > I don't see the benefit of a short flag.
> > > > It makes reading commands less obvious.
> > > >
> > > I actually would prefer to have a short option available, and I'd really
> > > like that short option to be "-A" since it serves as the perfect addition
> > > to the "-a" flag to specify devices to probe.
> > >
> > > Based on that, I would look for long options which allow "-A" as the short
> > > version for example:
> > >
> > > --allowlisted-devs-only

--allow-only?


> > >
> > > /Bruce
> >
> > Also if -b or --block-list become a no op with --no-autoprobe. So it should 
> > be a warning?
>
> Yes, I think a warning about ignored parameter would be appropriate.

Thomas had the same comment when we talked about the series.
However, I would reject the combination rather than warn.


-- 
David Marchand

Reply via email to