hostnamectl: add --json= switch for JSON output
authorLennart Poettering <lennart@poettering.net>
Thu, 29 Apr 2021 09:29:46 +0000 (11:29 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 29 Apr 2021 14:39:09 +0000 (16:39 +0200)
commitac8a4f6b78fe70680d3bc1704b1f85bbcbe7bb55
tree892ae179a2bc53fe9c1a39e5148bfe9c686197dc
parent7ecead8f0838d776926f8e010ca001f31b7344ae
hostnamectl: add --json= switch for JSON output

This wraps the new Describe() bus call of hostnamed.
man/hostnamectl.xml
src/hostname/hostnamectl.c