Re: [PATCH] rtla: clarify trace option syntax in documentation and usage help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



č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






[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux