From 57c45481fcd97b48ae956699d7c39a23d24bc298 Mon Sep 17 00:00:00 2001 From: J William Piggott Date: Sat, 1 Jul 2017 20:05:56 -0400 Subject: hwclock: usage() use program_invocation_short_name Signed-off-by: J William Piggott --- sys-utils/hwclock.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys-utils/hwclock.c') diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index f69e0108e..f738a954d 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1203,7 +1203,7 @@ static void __attribute__((__noreturn__)) usage(const struct hwclock_control *ctl) { fputs(USAGE_HEADER, stdout); - puts(_(" hwclock [function] [option...]")); + printf(_(" %s [function] [option...]\n"), program_invocation_short_name); fputs(USAGE_SEPARATOR, stdout); puts(_("Query or set the RTC (Real Time Clock / Hardware Clock)")); @@ -1222,8 +1222,8 @@ usage(const struct hwclock_control *ctl) #endif puts(_(" --predict predict the drifted RTC time according to --date")); fputs(USAGE_OPTIONS, stdout); - puts(_(" -u, --utc inform hwclock the RTC timescale is UTC")); - puts(_(" -l, --localtime inform hwclock the RTC timescale is Local")); + puts(_(" -u, --utc the RTC timescale is UTC")); + puts(_(" -l, --localtime the RTC timescale is Local")); #ifdef __linux__ printf(_( " -f, --rtc use an alternate file to %1$s\n"), _PATH_RTC_DEV); -- cgit v1.2.3-55-g7522