Re: [PATCH v2 19/24] dyndbg: accept query terms like module:foo and file=bar
From: Greg KH
Date: Wed Jun 17 2020 - 10:01:34 EST
On Wed, Jun 17, 2020 at 07:32:44AM -0600, jim.cromie@xxxxxxxxx wrote:
> hi Petr
>
> > You made to do some research and I was wrong. For example, getopt()
> > operates with options and their arguments. So, 'keyword' and 'arg' names
> > look good after all.
> >
> > Well, I still think that only one syntax should be supported. And it
> > is better to distinguish keywords and arguments, so I prefer keyword=arg.
> >
>
> hehe, Im gonna cite some RFC wisdom to convince you ;-)
>
> Be strict in what you emit, and permissive in what you accept.
>
> I see no potential for real ambiguity that would override that bias.
No, the kernel should be strict in what it accepts, otherwise it is a
huge maintance burden for no good reason at all.
Only one syntax is a wise idea, stick with that please.
thanks,
greg k-h