Re: [PATCH 4/7] kconfig: qconf: use QCommandLineParser

From: Masahiro Yamada
Date: Thu Oct 24 2024 - 07:29:33 EST


On Thu, Oct 24, 2024 at 1:39 AM Masahiro Yamada <masahiroy@xxxxxxxxxx> wrote:
>
> On Wed, Oct 23, 2024 at 3:33 PM Rolf Eike Beer <eb@xxxxxxxxx> wrote:
> >
> > This has a much nicer output without manual processing. It also adds window
> > management options from Qt for free.
> >
> > Signed-off-by: Rolf Eike Beer <eb@xxxxxxxxx>
> > ---
>
> The help message looks as follows:
>
>
> $ ./scripts/kconfig/qconf --help
> QSocketNotifier: Can only be used with threads started with QThread
> Usage: ./scripts/kconfig/qconf [options] Kconfig
>
> Options:
> -s silent
> -h, --help Displays help on commandline options.
> --help-all Displays help including Qt specific options.
>
> Arguments:
> file config file to open


"config file" is a bit confusing. (it sounds like ".config").

The positional argument specifies the top-level Kconfig.

I added this to the help of scripts/kconfig/conf:

https://lore.kernel.org/linux-kbuild/20241024112548.1438155-1-masahiroy@xxxxxxxxxx/T/#u






Best Regards

Masahiro Yamada