From 40191b5f95d51ace82c5fca05612b103df3259eb Mon Sep 17 00:00:00 2001 From: Sami Kerola Date: Sun, 3 Sep 2017 23:34:07 +0100 Subject: hwclock: add -a that is short of --adjust to manual page and usage In same go use -V as return value of --version from getopts_long(). Signed-off-by: Sami Kerola --- sys-utils/hwclock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys-utils/hwclock.c') diff --git a/sys-utils/hwclock.c b/sys-utils/hwclock.c index bf5459783..9fa26bd0b 100644 --- a/sys-utils/hwclock.c +++ b/sys-utils/hwclock.c @@ -1076,7 +1076,7 @@ usage(void) puts(_(" -s, --hctosys set the system time from the RTC")); puts(_(" -w, --systohc set the RTC from the system time")); puts(_(" --systz send timescale configurations to the kernel")); - puts(_(" --adjust adjust the RTC to account for systematic drift")); + puts(_(" -a, --adjust adjust the RTC to account for systematic drift")); #if defined(__linux__) && defined(__alpha__) puts(_(" --getepoch display the RTC epoch")); puts(_(" --setepoch set the RTC epoch according to --epoch")); @@ -1145,7 +1145,7 @@ int main(int argc, char **argv) { "show", no_argument, NULL, 'r' }, { "hctosys", no_argument, NULL, 's' }, { "utc", no_argument, NULL, 'u' }, - { "version", no_argument, NULL, 'v' }, + { "version", no_argument, NULL, 'V' }, { "systohc", no_argument, NULL, 'w' }, { "debug", no_argument, NULL, 'D' }, { "set", no_argument, NULL, OPT_SET }, -- cgit v1.2.3-55-g7522