Fix ecpg -? option on Windows, add -V alias for --version.
authorHeikki Linnakangas
Sun, 18 Sep 2016 10:46:32 +0000 (13:46 +0300)
committerHeikki Linnakangas
Sun, 18 Sep 2016 10:59:57 +0000 (13:59 +0300)
commitd48e10a6859e2df81a43b1f830d42fa11c186a6f
treefbf22cc4674389aaba75f8be9b46747b77a21c3a
parent1336bd9862c15db20a879f27082d18604fec7093
Fix ecpg -? option on Windows, add -V alias for --version.

This makes the -? and -V options work consistently with other binaries.
--help and --version are now only recognized as the first option, i.e.
"ecpg --foobar --help" no longer prints the help, but that's consistent
with most of our other binaries, too.

Backpatch to all supported versions.

Haribabu Kommi

Discussion: 
src/interfaces/ecpg/preproc/ecpg.c