[systemd-commits] man/timedatectl.xml src/timedate

Lennart Poettering lennart at kemper.freedesktop.org
Wed Apr 8 09:34:49 PDT 2015


 man/timedatectl.xml        |   18 +++++++++---------
 src/timedate/timedatectl.c |    2 +-
 2 files changed, 10 insertions(+), 10 deletions(-)

New commits:
commit b90930c73b1c82a3dc4d4f2603799993f042aaff
Author: Lennart Poettering <lennart at poettering.net>
Date:   Wed Apr 8 18:34:08 2015 +0200

    man: avoid confusion regarding "time synchronization state"
    
    Also, update example in the timedatectl man page to match the actual
    timedatectl output.

diff --git a/man/timedatectl.xml b/man/timedatectl.xml
index 187a7ad..2d42b41 100644
--- a/man/timedatectl.xml
+++ b/man/timedatectl.xml
@@ -105,11 +105,11 @@
 
         <listitem><para>Show current settings of the system clock and
         RTC, including whether network time synchronization is
-        enabled. Note that the network time synchronization state
+        on. Note that whether network time synchronization is on
         simply reflects whether the
         <filename>systemd-timesyncd.service</filename> unit is
-        enabled. Even if the status is shown as off with this command
-        another service might still synchronize the network over the
+        enabled. Even if this command shows the status as off a
+        different service might still synchronize the clock with the
         network.</para></listitem>
       </varlistentry>
 
@@ -166,12 +166,12 @@
         <term><command>set-ntp [BOOL]</command></term>
 
         <listitem><para>Takes a boolean argument. Controls whether
-        network time synchronous is enabled (if available). This
+        network time synchronization is enabled (if available). This
         enables or disables the
         <filename>systemd-timesyncd.service</filename> unit. Note that
-        even if time synchronization is turned off with this command
-        another system service might still synchronize the clock with
-        the network.</para></listitem>
+        even if this command turns time synchronization off a
+        different system service might still synchronize the clock
+        with the network.</para></listitem>
       </varlistentry>
 
     </variablelist>
@@ -195,12 +195,12 @@
   Universal time: Di 2015-04-07 14:26:56 UTC
         RTC time: Di 2015-04-07 14:26:56
        Time zone: Europe/Berlin (CEST, +0200)
-     NTP enabled: yes
+ Network time on: yes
 NTP synchronized: yes
  RTC in local TZ: no</programlisting>
     </para>
 
-    <para>Enable an NTP daemon:
+    <para>Enable network time synchronization:
     <programlisting>$ timedatectl set-ntp true
 ==== AUTHENTICATING FOR org.freedesktop.timedate1.set-ntp ===
 Authentication is required to control whether network time synchronization shall be enabled.
diff --git a/src/timedate/timedatectl.c b/src/timedate/timedatectl.c
index 8416bb5..0a41f05 100644
--- a/src/timedate/timedatectl.c
+++ b/src/timedate/timedatectl.c
@@ -136,7 +136,7 @@ static void print_status_info(const StatusInfo *i) {
                 tzset();
 
         printf("       Time zone: %s (%.*s)\n"
-               " Network Time on: %s\n"
+               " Network time on: %s\n"
                "NTP synchronized: %s\n"
                " RTC in local TZ: %s\n",
                strna(i->timezone), (int) sizeof(a), have_time ? a : "n/a",



More information about the systemd-commits mailing list