set optopt in getopt_long
authorRich Felker <dalias@aerifal.cx>
Sun, 21 Dec 2014 00:49:19 +0000 (19:49 -0500)
committerRich Felker <dalias@aerifal.cx>
Sun, 21 Dec 2014 00:49:19 +0000 (19:49 -0500)
commit0217ed72f986d78b177f1a014e93f2150105bb44
tree42d3c73eac92f1d7a0469e0c12d153ac381c5155
parent91184c4f16b143107fa9935edebe5d2b20bd70d8
set optopt in getopt_long

this is undocumented but possibly expected behavior of GNU
getopt_long, and useful when error message printing has been
suppressed.
src/misc/getopt_long.c