]> git.ipfire.org Git - thirdparty/util-linux.git/commit
hwclock: use a consistent name for --predict
authorJ William Piggott <elseifthen@gmx.com>
Thu, 20 Apr 2017 13:34:33 +0000 (09:34 -0400)
committerJ William Piggott <elseifthen@gmx.com>
Thu, 27 Apr 2017 03:19:56 +0000 (23:19 -0400)
commit57415653a667cf2442d019f62287534931ab3da4
treefca4f60aa602ddf3d3e8a3999fd24dc93d102b9b
parent019093776a26f1df50bbde946e865a85349e3cde
hwclock: use a consistent name for --predict

The predict function name is documented as '--predict', but the
code uses '--predict-hc'. This works okay, except that the
'mutually exclusive' error message prints the undocumented name.

* sys-utils/hwclock.c: rename 'predict-hc' to 'predict' so that
    it matches the man-page. This should not be a problem because
    'predict-hc' was never documented.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
sys-utils/hwclock.c