]> git.ipfire.org Git - thirdparty/util-linux.git/commit
optutils.h: don't print non-graph characters
authorJ William Piggott <elseifthen@gmx.com>
Wed, 19 Apr 2017 00:57:27 +0000 (20:57 -0400)
committerJ William Piggott <elseifthen@gmx.com>
Wed, 19 Apr 2017 02:39:05 +0000 (22:39 -0400)
commit9bf13750cb55d747314a472c306e66b02a2abda9
tree297c859889461e159d84b7de41796aabda542502
parentd8949acaa7a5b3023df115f1bb8b41d0c01f21dd
optutils.h: don't print non-graph characters

There is no eloquent way to exclude/include arch dependent arguments
from the ul_excl_t array. So when an arch dependent argument is left
undefined err_exclusive_options() was printing out-of-bounds values.
This commit cause them to be skipped instead.

err_exclusive_options() shouldn't be printing out-of-bounds values
in any case.

Also change the error massage from 'options' to 'arguments' as some
programs, like hwclock, distinguish between options and functions.

Signed-off-by: J William Piggott <elseifthen@gmx.com>
include/optutils.h