]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
tools: ynl: cli: introduce formatting for attr names in --list-attrs
authorJakub Kicinski <kuba@kernel.org>
Sat, 10 Jan 2026 23:31:36 +0000 (15:31 -0800)
committerJakub Kicinski <kuba@kernel.org>
Mon, 12 Jan 2026 21:29:30 +0000 (13:29 -0800)
commit21eb90fb5fbc939eb68262efc0e916293d8299d2
treebd6e82b80c36652e0b60b35b2271aa7123774caf
parent60d8484c4cec811f5ceb6550655df74490d1a165
tools: ynl: cli: introduce formatting for attr names in --list-attrs

It's a little hard to make sense of the output of --list-attrs,
it looks like a wall of text. Sprinkle a little bit of formatting -
make op and attr names bold, and Enum: / Flags: keywords italics.

Tested-by: Gal Pressman <gal@nvidia.com>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Donald Hunter <donald.hunter@gmail.com>
Link: https://patch.msgid.link/20260110233142.3921386-2-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/net/ynl/pyynl/cli.py