[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAE-0n50xwj04hAUFj9y2oc2VBgy0G-yVFC8f=DyhRofv2hYY8g@mail.gmail.com>
Date: Wed, 8 May 2024 17:38:34 -0400
From: Stephen Boyd <swboyd@...omium.org>
To: Alexis Lothoré <alexis.lothore@...tlin.com>,
Konstantin Khlebnikov <koct9i@...il.com>, Luca Ceresoli <luca.ceresoli@...tlin.com>,
Sasha Levin <sashal@...nel.org>, Thomas Petazzoni <thomas.petazzoni@...tlin.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH 3/3] scripts/decode_stacktrace.sh: add '-h' flag
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@...tlin.com>
> ---
Reviewed-by: Stephen Boyd <swboyd@...omium.org>
Powered by blists - more mailing lists