]> git.ipfire.org Git - thirdparty/systemd.git/commit
varlinkctl: if "call" verb is used, imply "-j"
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Feb 2024 10:45:33 +0000 (11:45 +0100)
committerLennart Poettering <lennart@poettering.net>
Mon, 12 Feb 2024 11:04:18 +0000 (12:04 +0100)
commit24835e9933ee1dc26876eb4e33adb4769520ddc3
tree7f3db119037e91f0f4e555a0296200d6fbc73095
parent7781d28fd75b93e4d1c87644b23b95ea382c5ae7
varlinkctl: if "call" verb is used, imply "-j"

For the other verbs turning off JSON mode makes sense, but for "call"
not so much, after all the contents of a method call reply is JSON we
couldn't really show any other way.

Hence, when JSON output was not configured otherwise in "call", default
to the same as -j.
src/varlinkctl/varlinkctl.c
test/units/testsuite-54.sh