[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210813171938.1127891-1-kuba@kernel.org>
Date: Fri, 13 Aug 2021 10:19:35 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: mkubecek@...e.cz, andrew@...n.ch
Cc: netdev@...r.kernel.org, dcavalca@...com, filbranden@...com,
michel@...com, Jakub Kicinski <kuba@...nel.org>
Subject: [PATCH ethtool 0/3] ethool: make --json reliable
This series aims to make --json fail if the output is not
JSON formatted. This should make writing scripts around
ethtool less error prone and give us stronger signal when
produced JSON is invalid.
Jakub Kicinski (3):
ethtool: remove questionable goto
ethtool: use dummy args[] entry for no-args case
ethtool: return error if command does not support --json
ethtool.c | 52 ++++++++++++++++++++++++++++------------------------
1 file changed, 28 insertions(+), 24 deletions(-)
--
2.31.1
Powered by blists - more mailing lists