]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: allow -l as alias for --localtime
authorRasmus Villemoes <rv@rasmusvillemoes.dk>
Wed, 31 May 2017 18:25:16 +0000 (20:25 +0200)
committerRasmus Villemoes <rv@rasmusvillemoes.dk>
Wed, 31 May 2017 18:25:16 +0000 (20:25 +0200)
commit3752694299815a5253dc9f0589d284ed43cf370b
treed7ceb776f395d454c0cf479a0dfba8fee0e58b74
parent3947ca4ca9737d830f54658ef353f5626c0d0282
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.)
sys-utils/hwclock.8.in
sys-utils/hwclock.c