Re: [PATCH] rtla: clarify trace option syntax in documentation and usage help
From: Tomas Glozar
Date: Fri Jul 25 2025 - 05:14:43 EST
čt 24. 7. 2025 v 15:59 odesílatel Steven Rostedt <rostedt@xxxxxxxxxxx> napsal:
>
> On Tue, 22 Jul 2025 21:52:33 -0400
> Ivan Pravdin <ipravdin.official@xxxxxxxxx> wrote:
> > Valid usage:
> > - `-t[file]`
> > - `-t=[file]`
> > - `--trace=[file]`
> >
> > Invalid usage:
> > - `-t [file]`
> > - `--trace [file]`
>
> I wonder if the better fix would be to make the above valid?
>
Definitely. There is also another case where only = syntax is
accepted, C/--cgroup. In my opinion, both are confusing, and both
should accept = as well as space. I even had some trouble with the
latter as it fails to parse silently and looks like the cgroup setting
code is not working.
Tomas