Commit 1af403e4 authored by Peter Eisentraut's avatar Peter Eisentraut

Complete options help and put it in less random order.

parent 33ab0d9e
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ref/ecpg-ref.sgml,v 1.28 2003/09/20 20:12:05 tgl Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ref/ecpg-ref.sgml,v 1.29 2003/11/02 12:55:24 petere Exp $
PostgreSQL documentation PostgreSQL documentation
--> -->
...@@ -76,6 +76,17 @@ PostgreSQL documentation ...@@ -76,6 +76,17 @@ PostgreSQL documentation
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><option>-C <replaceable>mode</replaceable></option></term>
<listitem>
<para>
Set a compatibility mode. <replaceable>mode</replaceable> may
be <literal>INFORMIX</literal> or
<literal>INFORMIX_SE</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><option>-D <replaceable>symbol</replaceable></option></term> <term><option>-D <replaceable>symbol</replaceable></option></term>
<listitem> <listitem>
...@@ -85,6 +96,15 @@ PostgreSQL documentation ...@@ -85,6 +96,15 @@ PostgreSQL documentation
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><option>-i</option></term>
<listitem>
<para>
Parse system include files as well.
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><option>-I <replaceable class="parameter">directory</replaceable></option></term> <term><option>-I <replaceable class="parameter">directory</replaceable></option></term>
<listitem> <listitem>
...@@ -111,6 +131,17 @@ PostgreSQL documentation ...@@ -111,6 +131,17 @@ PostgreSQL documentation
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry>
<term><option>-r <replaceable>option</replaceable></option></term>
<listitem>
<para>
Selects a run-time behavior. Currently,
<replaceable>option</replaceable> can only be
<literal>no_indicator</literal>.
</para>
</listitem>
</varlistentry>
<varlistentry> <varlistentry>
<term><option>-t</option></term> <term><option>-t</option></term>
<listitem> <listitem>
......
/* $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. */ /* New main for ecpg, the PostgreSQL embedded SQL precompiler. */
/* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */ /* (C) Michael Meskes <meskes@postgresql.org> Feb 5th, 1998 */
...@@ -41,18 +41,18 @@ help(const char *progname) ...@@ -41,18 +41,18 @@ help(const char *progname)
printf("Options:\n"); printf("Options:\n");
printf(" -c automatically generate C code from embedded SQL code;\n" printf(" -c automatically generate C code from embedded SQL code;\n"
" currently this works for EXEC SQL TYPE\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 #ifdef YYDEBUG
printf(" -d generate parser debug output\n"); printf(" -d generate parser debug output\n");
#endif #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(" -D SYMBOL define SYMBOL\n");
printf(" -i parse system include files as well\n");
printf(" -I DIRECTORY search DIRECTORY for include files\n"); printf(" -I DIRECTORY search DIRECTORY for include files\n");
printf(" -o OUTFILE write result to OUTFILE\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(" -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(" --help show this help, then exit\n");
printf(" --version output version information, 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" printf("\nIf no output file is specified, the name is formed by adding .c to the\n"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment