]> git.ipfire.org Git - thirdparty/systemd.git/commit
analyze: drop conditioning of --no-legend and --json= on specific verbs 35175/head
authorLennart Poettering <lennart@poettering.net>
Fri, 15 Nov 2024 10:40:44 +0000 (11:40 +0100)
committerLennart Poettering <lennart@poettering.net>
Wed, 18 Dec 2024 16:39:22 +0000 (17:39 +0100)
commit0e5a83f5102716dc44f15e92a8fb76029652f696
tree6c40fc1b5aa48115e5f4ed8597fe64c99bfd541d
parent8f114904fc0ee5b3d4b12cfb0231d90d5142f9c0
analyze: drop conditioning of --no-legend and --json= on specific verbs

First of all, the list of verbs was badly out of date, in particular for
--no-legend. But second if it, I think such minor switches that alter
some detail of the output should not result in failure when the specific
tweak does not apply on some command. It should be fine for scripts and
suchlike to dumbly always pass --no-legend to all invocations of our
tools without having to consider if a specific subtool of ours actually
supports it or not.
src/analyze/analyze.c