summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-06-10 17:17:34 +0900
committerLennart Poettering <lennart@poettering.net>2018-06-14 10:19:08 +0200
commitead0adb161bb07ae4d53e9834ff04248bea19f3f (patch)
tree3a2d30f91aba32bbabd22f23e6a3bbe80229b3d5 /man
parent28e1a3ec44e7de18574ab4bd3e14628541ce9f22 (diff)
downloadsystemd-ead0adb161bb07ae4d53e9834ff04248bea19f3f.tar.gz
timedatectl: add 'show' command to display machine-readable output
Closes #9249.
Diffstat (limited to 'man')
-rw-r--r--man/timedatectl.xml30
1 files changed, 20 insertions, 10 deletions
diff --git a/man/timedatectl.xml b/man/timedatectl.xml
index b6caa5458d..1a5ba022e5 100644
--- a/man/timedatectl.xml
+++ b/man/timedatectl.xml
@@ -147,6 +147,16 @@
</varlistentry>
<varlistentry>
+ <term><command>show</command></term>
+
+ <listitem><para>Show the same information as <option>status</option>, but in machine readable form.
+ This command is intended to be used whenever computer-parsable output is required.
+ Use <option>status</option> if you are looking for formatted human-readable output.</para>
+ <para>By default, empty properties are suppressed. Use <option>--all</option> to show those too.
+ To select specific properties to show, use <option>--property=</option>.</para></listitem>
+ </varlistentry>
+
+ <varlistentry>
<term><command>set-time [TIME]</command></term>
<listitem><para>Set the system clock to the specified time.
@@ -207,11 +217,12 @@
</variablelist>
- <refsect2><title>systemd-timesyncd Commands</title>
+ <refsect2>
+ <title>systemd-timesyncd Commands</title>
- <para>The following commands are specific to
- <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
- </para>
+ <para>The following commands are specific to
+ <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
+ </para>
<variablelist>
<varlistentry>
@@ -225,12 +236,11 @@
<varlistentry>
<term><command>show-timesync</command></term>
- <listitem><para>Show properties of the manager of
- <citerefentry><refentrytitle>systemd-timesyncd.service</refentrytitle><manvolnum>8</manvolnum></citerefentry>.
- By default, empty properties are suppressed. Use <option>--all</option> to show those too. To select specific
- properties to show, use <option>--property=</option>. This command is intended to be used whenever
- computer-parsable output is required. Use <option>timesync-status</option> if you are looking for formatted
- human-readable output.</para></listitem>
+ <listitem><para>Show the same information as <option>timesync-status</option>, but in machine readable form.
+ This command is intended to be used whenever computer-parsable output is required.
+ Use <option>timesync-status</option> if you are looking for formatted human-readable output.</para>
+ <para>By default, empty properties are suppressed. Use <option>--all</option> to show those too.
+ To select specific properties to show, use <option>--property=</option>.</para></listitem>
</varlistentry>
</variablelist>