]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix ecpg -? option on Windows, add -V alias for --version.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 18 Sep 2016 10:46:32 +0000 (13:46 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sun, 18 Sep 2016 11:07:30 +0000 (14:07 +0300)
commited29d2de25d7da3b2b4c050d4cb6139eb4326ecb
tree7d58bd37a108093496ae7d33a0c789265b9b468c
parent3ed7f54bc46ab2bb39b703b40bc72693c7f1306f
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: <CAJrrPGfnRXvmCzxq6Dy=stAWebfNHxiL+Y_z7uqksZUCkW_waQ@mail.gmail.com>
src/interfaces/ecpg/preproc/ecpg.c