summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.c
diff options
context:
space:
mode:
authorJ William Piggott2017-06-17 21:32:28 +0200
committerJ William Piggott2017-06-21 01:50:38 +0200
commit513bfbefa29d28b086087e2c7b7b13dd37128ae0 (patch)
tree5541672ea538cc8f843e53fbd40793438d9a7d58 /sys-utils/hwclock.c
parenthwclock: update usage() FILE name (diff)
downloadkernel-qcow2-util-linux-513bfbefa29d28b086087e2c7b7b13dd37128ae0.tar.gz
kernel-qcow2-util-linux-513bfbefa29d28b086087e2c7b7b13dd37128ae0.tar.xz
kernel-qcow2-util-linux-513bfbefa29d28b086087e2c7b7b13dd37128ae0.zip
hwclock: add usage() functions heading
Make a functions heading, similar to the existing options heading. * include/c.h: define USAGE_FUNCTIONS * Documentation/boilerplate.c: add USAGE_FUNCTIONS * sys-utils/hwclock.c add functions header to usage() Reviewed-by: Karel Zak <kzak@redhat.com> Signed-off-by: J William Piggott <elseifthen@gmx.com>
Diffstat (limited to 'sys-utils/hwclock.c')
-rw-r--r--sys-utils/hwclock.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
index 28655b0b9..9d6bb11c0 100644
--- a/sys-utils/hwclock.c
+++ b/sys-utils/hwclock.c
@@ -1208,8 +1208,7 @@ usage(const struct hwclock_control *ctl, FILE *out)
fputs(USAGE_SEPARATOR, out);
fputs(_(" Query or set the hardware clock\n"), out);
- fputs(USAGE_SEPARATOR, out);
- fputs(_("Functions:\n"), out);
+ fputs(USAGE_FUNCTIONS, out);
fputs(_(" -r, --show read hardware clock and print result\n"
" --get read hardware clock and print drift corrected result\n"
" --set set the RTC to the time given with --date\n"), out);