summaryrefslogtreecommitdiffstats
path: root/sys-utils/hwclock.8.in
diff options
context:
space:
mode:
authorRasmus Villemoes2017-05-31 20:25:16 +0200
committerRasmus Villemoes2017-05-31 20:25:16 +0200
commit3752694299815a5253dc9f0589d284ed43cf370b (patch)
treed7ceb776f395d454c0cf479a0dfba8fee0e58b74 /sys-utils/hwclock.8.in
parentbuild-sys: ncurses headers cleanup (diff)
downloadkernel-qcow2-util-linux-3752694299815a5253dc9f0589d284ed43cf370b.tar.gz
kernel-qcow2-util-linux-3752694299815a5253dc9f0589d284ed43cf370b.tar.xz
kernel-qcow2-util-linux-3752694299815a5253dc9f0589d284ed43cf370b.zip
hwclock: allow -l as alias for --localtime
For symmetry with --utc where a short form is already allowed, and to make it easier to write scripts that will work with both util-linux' and busybox' hwclock, make -l another spelling of --localtime. (Busybox also understands --localtime, but only if it has been compiled with long option support.)
Diffstat (limited to 'sys-utils/hwclock.8.in')
-rw-r--r--sys-utils/hwclock.8.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/hwclock.8.in b/sys-utils/hwclock.8.in
index f11df801f..cf33e6329 100644
--- a/sys-utils/hwclock.8.in
+++ b/sys-utils/hwclock.8.in
@@ -329,7 +329,7 @@ use the first one found in this order:
.in
.
.TP
-.B \-\-localtime
+.BR \-l , \ \-\-localtime
.TQ
.BR \-u ", " \-\-utc
Indicate which timescale the Hardware Clock is set to.