summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.c
diff options
context:
space:
mode:
authorSami Kerola2014-09-28 21:51:41 +0200
committerKarel Zak2014-10-01 12:33:26 +0200
commitdb433bf737a5fd4e1c7cca5e3603934743eebd1c (patch)
treede811b6d372bf7cba52535d2d1de770541499b34 /sys-utils/hwclock.c
parenttextual: use manual tail usage() macro (diff)
downloadkernel-qcow2-util-linux-db433bf737a5fd4e1c7cca5e3603934743eebd1c.tar.gz
kernel-qcow2-util-linux-db433bf737a5fd4e1c7cca5e3603934743eebd1c.tar.xz
kernel-qcow2-util-linux-db433bf737a5fd4e1c7cca5e3603934743eebd1c.zip
textual: use usage() text element macros
Translating these text elements should happen only once, which is more likely when the text macros are used properly. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
Diffstat (limited to 'sys-utils/hwclock.c')
-rw-r--r--sys-utils/hwclock.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c
index 9151d246e..493ee8808 100644
--- a/sys-utils/hwclock.c
+++ b/sys-utils/hwclock.c
@@ -1563,7 +1563,7 @@ static void usage(const char *fmt, ...)
usageto = fmt ? stderr : stdout;
- fputs(_("\nUsage:\n"), usageto);
+ fputs(USAGE_HEADER, usageto);
fputs(_(" hwclock [function] [option...]\n"), usageto);
fputs(_("\nFunctions:\n"), usageto);
@@ -1584,7 +1584,7 @@ static void usage(const char *fmt, ...)
fputs(_(" --predict predict RTC reading at time given with --date\n"
" -V, --version display version information and exit\n"), usageto);
- fputs(_("\nOptions:\n"), usageto);
+ fputs(USAGE_OPTIONS, usageto);
fputs(_(" -u, --utc the hardware clock is kept in UTC\n"
" --localtime the hardware clock is kept in local time\n"), usageto);
#ifdef __linux__