pgsql: Fix ecpg -? option on Windows, add -V alias for --version.
pgsql: Fix ecpg -? option on Windows, add -V alias for --version.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
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: Branch ------ REL9_4_STABLE Details ------- http://git.postgresql.org/pg/commitdiff/d48e10a6859e2df81a43b1f830d42fa11c186a6f Modified Files -------------- src/interfaces/ecpg/preproc/ecpg.c | 47 +++++++++++++++----------------------- 1 file changed, 18 insertions(+), 29 deletions(-)