hostnamectl: add --json= switch for JSON output

This wraps the new Describe() bus call of hostnamed.
This commit is contained in:
Lennart Poettering
2021-04-29 16:39:09 +02:00
parent 7ecead8f08
commit ac8a4f6b78
2 changed files with 48 additions and 2 deletions
+1
View File
@@ -195,6 +195,7 @@
<xi:include href="standard-options.xml" xpointer="help" />
<xi:include href="standard-options.xml" xpointer="version" />
<xi:include href="standard-options.xml" xpointer="json" />
</variablelist>
</refsect1>