From: Peter Eisentraut Date: Sun, 2 Nov 2003 12:55:24 +0000 (+0000) Subject: Complete options help and put it in less random order. X-Git-Tag: REL7_4_RC1~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1af403e42d68f5e3b4f0d3b7310695f0afad14eb;p=postgresql Complete options help and put it in less random order. --- diff --git a/doc/src/sgml/ref/ecpg-ref.sgml b/doc/src/sgml/ref/ecpg-ref.sgml index f47c33601b..338895815d 100644 --- a/doc/src/sgml/ref/ecpg-ref.sgml +++ b/doc/src/sgml/ref/ecpg-ref.sgml @@ -1,5 +1,5 @@ @@ -76,6 +76,17 @@ PostgreSQL documentation + + + + + Set a compatibility mode. mode may + be INFORMIX or + INFORMIX_SE. + + + + @@ -85,6 +96,15 @@ PostgreSQL documentation + + + + + Parse system include files as well. + + + + @@ -111,6 +131,17 @@ PostgreSQL documentation + + + + + Selects a run-time behavior. Currently, + option can only be + no_indicator. + + + + diff --git a/src/interfaces/ecpg/preproc/ecpg.c b/src/interfaces/ecpg/preproc/ecpg.c index cc8ba9c22b..d8f4b9e1fe 100644 --- a/src/interfaces/ecpg/preproc/ecpg.c +++ b/src/interfaces/ecpg/preproc/ecpg.c @@ -1,4 +1,4 @@ -/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.80 2003/10/06 06:44:55 meskes Exp $ */ +/* $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/ecpg.c,v 1.81 2003/11/02 12:55:24 petere Exp $ */ /* New main for ecpg, the PostgreSQL embedded SQL precompiler. */ /* (C) Michael Meskes Feb 5th, 1998 */ @@ -41,18 +41,18 @@ help(const char *progname) printf("Options:\n"); printf(" -c automatically generate C code from embedded SQL code;\n" " currently this works for EXEC SQL TYPE\n"); + printf(" -C MODE set compatibility mode;\n" + " MODE may be one of \"INFORMIX\", \"INFORMIX_SE\"\n"); #ifdef YYDEBUG printf(" -d generate parser debug output\n"); #endif - printf(" -C MODE set compatibility mode;\n" - " MODE may be one of \"INFORMIX\", \"INFORMIX_SE\"\n"); - printf(" -r OPTION specify runtime behaviour;\n" - " OPTION may only be \"no_indicator\"\n"); printf(" -D SYMBOL define SYMBOL\n"); + printf(" -i parse system include files as well\n"); printf(" -I DIRECTORY search DIRECTORY for include files\n"); printf(" -o OUTFILE write result to OUTFILE\n"); + printf(" -r OPTION specify runtime behaviour;\n" + " OPTION may only be \"no_indicator\"\n"); printf(" -t turn on autocommit of transactions\n"); - printf(" -i parse system include files as well\n"); printf(" --help show this help, then exit\n"); printf(" --version output version information, then exit\n"); printf("\nIf no output file is specified, the name is formed by adding .c to the\n"