diff options
author | J William Piggott | 2017-06-17 21:32:28 +0200 |
---|---|---|
committer | J William Piggott | 2017-06-21 01:50:38 +0200 |
commit | 513bfbefa29d28b086087e2c7b7b13dd37128ae0 (patch) | |
tree | 5541672ea538cc8f843e53fbd40793438d9a7d58 /sys-utils/hwclock.c | |
parent | hwclock: update usage() FILE name (diff) | |
download | kernel-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.c | 3 |
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); |