Re: [PATCH 3/3] scripts/decode_stacktrace.sh: add '-h' flag

From: Stephen Boyd
Date: Wed May 08 2024 - 17:38:44 EST


Quoting Luca Ceresoli (2024-03-11 08:24:56)
> When no parameters are passed, the usage instructions are presented only
> when debuginfod-find is not found. This makes sense because with debuginfod
> none of the positional parameters are needed. However it means that users
> having debuginfod-find installed will have no chance of reading the usage
> text without opening the file.
>
> Many programs have a '-h' flag to get the usage, so add such a flag.
> Invoking 'scripts/decode_stacktrace.sh -h' will now show the usage text and
> exit.
>
> Signed-off-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
> ---

Reviewed-by: Stephen Boyd <swboyd@xxxxxxxxxxxx>