[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <m2secbvb3t.fsf@gmail.com>
Date: Mon, 12 Jan 2026 02:05:58 +0000
From: Donald Hunter <donald.hunter@...il.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
pabeni@...hat.com, andrew+netdev@...n.ch, horms@...nel.org,
sdf@...ichev.me, gal@...dia.com
Subject: Re: [PATCH net-next v2 0/7] tools: ynl: cli: improve the help and doc
Jakub Kicinski <kuba@...nel.org> writes:
> I had some time on the plane to LPC, so here are improvements
> to the --help and --list-attrs handling of YNL CLI which seem
> in order given growing use of YNL as a real CLI tool.
>
> v2:
> - patch 2: remove unnecessary isatty() check
> v1: https://lore.kernel.org/20260109211756.3342477-1-kuba@kernel.org
>
> Jakub Kicinski (7):
> tools: ynl: cli: introduce formatting for attr names in --list-attrs
> tools: ynl: cli: wrap the doc text if it's long
> tools: ynl: cli: improve --help
> tools: ynl: cli: add --doc as alias to --list-attrs
> tools: ynl: cli: factor out --list-attrs / --doc handling
> tools: ynl: cli: extract the event/notify handling in --list-attrs
> tools: ynl: cli: print reply in combined format if possible
>
> tools/net/ynl/pyynl/cli.py | 207 ++++++++++++++++++++++++++-----------
> 1 file changed, 144 insertions(+), 63 deletions(-)
Reviewed-by: Donald Hunter <donald.hunter@...il.com>
Powered by blists - more mailing lists