summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.c
diff options
context:
space:
mode:
authorSami Kerola2017-09-04 00:34:07 +0200
committerKarel Zak2017-09-05 14:34:53 +0200
commit40191b5f95d51ace82c5fca05612b103df3259eb (patch)
tree44714086ecfd5c457757e38697d3e130221a2405 /sys-utils/hwclock.c
parenthwclock: update usage() (diff)
downloadkernel-qcow2-util-linux-40191b5f95d51ace82c5fca05612b103df3259eb.tar.gz
kernel-qcow2-util-linux-40191b5f95d51ace82c5fca05612b103df3259eb.tar.xz
kernel-qcow2-util-linux-40191b5f95d51ace82c5fca05612b103df3259eb.zip
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 <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 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 },