From: J William Piggott Date: Sun, 2 Jul 2017 18:09:41 +0000 (-0400) Subject: hwclock: sync one-liner descriptions X-Git-Tag: v2.31-rc1~220 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2b1aa087340f315f076565bb2eab6c8277d6a742;p=thirdparty%2Futil-linux.git 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 --- diff --git a/sys-utils/hwclock.8.in b/sys-utils/hwclock.8.in index 72b842ed55..fa8a19af6e 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 d173e5ab41..a3cd49a384 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"));