On Tue, 22 Jul 2025 21:52:33 -0400
Ivan Pravdin <ipravdin.offic...@gmail.com> wrote:

> When using `rtla timerlat {top,hist}`, the `-t/--trace` option is
> optional. However, when providing a filename, the long option requires
> an equal sign (`=`), i.e., `--trace=<file>`. This is because the
> command-line parser treats `--trace` without `=` as a flag with no
> value, leading to unexpected behavior.
> 
> 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?

-- Steve


> 
> Clarify valid usage in documentation and help message.
> 
> Signed-off-by: Ivan Pravdin <ipravdin.offic...@gmail.com>

Reply via email to