display the actual unknown option instead of '?'
authorThierry Vignaud <thierry.vignaud@gmail.com>
Mon, 17 Dec 2012 12:58:44 +0000 (13:58 +0100)
committerPanu Matilainen <pmatilai@redhat.com>
Tue, 18 Dec 2012 15:53:04 +0000 (17:53 +0200)
commit4365113d537f10ba5229264c9a8cab5d38dcd633
tree1a5a10e7a2649a29189603994e9e516179e75373
parent7f16ecfe412b9eac0dc18b1a63622999fca0bdc2
display the actual unknown option instead of '?'

'?' is returned by getopt when option is unknown, making hard to
pinpoint the actual bogus option...

Signed-off-by: Panu Matilainen <pmatilai@redhat.com>
(cherry picked from commit 8192e580a0a962b8eb7f9d8fc07bd3f99ccf0ffe)
rpmio/macro.c