summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ William Piggott2017-07-02 20:09:41 +0200
committerJ William Piggott2017-07-10 22:05:24 +0200
commit2b1aa087340f315f076565bb2eab6c8277d6a742 (patch)
tree27d99391c10129868a7fd177bb888e9620b7eb52
parentdocs: update boilerplate.c usage() (diff)
downloadkernel-qcow2-util-linux-2b1aa087340f315f076565bb2eab6c8277d6a742.tar.gz
kernel-qcow2-util-linux-2b1aa087340f315f076565bb2eab6c8277d6a742.tar.xz
kernel-qcow2-util-linux-2b1aa087340f315f076565bb2eab6c8277d6a742.zip
hwclock: sync one-liner descriptions
Make whatisdb/manpage and usage() one-line descriptions match. Also update the description; hwclock has evolved into much more than reading and setting the Hardware Clock. It also sets the System Clock, warps the System Clock, sets the kernel time configurations, and more. Signed-off-by: J William Piggott <elseifthen@gmx.com>
-rw-r--r--sys-utils/hwclock.8.in4
-rw-r--r--sys-utils/hwclock.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/sys-utils/hwclock.8.in b/sys-utils/hwclock.8.in
index 72b842ed5..fa8a19af6 100644
--- a/sys-utils/hwclock.8.in
+++ b/sys-utils/hwclock.8.in
@@ -6,7 +6,7 @@
.\"
.TH HWCLOCK 8 "April 2015" "util-linux" "System Administration"
.SH NAME
-hwclock \- read or set the hardware clock (RTC)
+hwclock \- time clocks utility
.SH SYNOPSIS
.B hwclock
.RI [ function ]
@@ -14,7 +14,7 @@ hwclock \- read or set the hardware clock (RTC)
.
.SH DESCRIPTION
.B hwclock
-is a tool for accessing the Hardware Clock. It can: display the
+is an administration tool for the time clocks. It can: display the
Hardware Clock time; set the Hardware Clock to a specified time; set the
Hardware Clock from the System Clock; set the System Clock from the
Hardware Clock; compensate for Hardware Clock drift; correct the System
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
index d173e5ab4..a3cd49a38 100644
--- a/sys-utils/hwclock.c
+++ b/sys-utils/hwclock.c
@@ -1206,7 +1206,7 @@ usage(const struct hwclock_control *ctl)
printf(_(" %s [function] [option...]\n"), program_invocation_short_name);
fputs(USAGE_SEPARATOR, stdout);
- puts(_("Query or set the RTC (Real Time Clock / Hardware Clock)"));
+ puts(_("Time clocks utility."));
fputs(USAGE_FUNCTIONS, stdout);
puts(_(" -r, --show display the RTC time"));