diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index 4d107f6225f5bb8ab67b4e5c86590edf5131d75e..8eb6714dc6f40ba38197ad331f4c20419a8a6eaf 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -53,8 +53,8 @@ PostgreSQL documentation <term><option>--echo-all</></term> <listitem> <para> - Print all input lines to standard output as they are read. This is more - useful for script processing than interactive mode. This is + Print all nonempty input lines to standard output as they are read. + (This does not apply to lines read interactively.) This is equivalent to setting the variable <varname>ECHO</varname> to <literal>all</literal>. </para> @@ -2703,13 +2703,13 @@ bar <term><varname>ECHO</varname></term> <listitem> <para> - If set to <literal>all</literal>, all lines - entered from the keyboard or from a script are written to the standard output - before they are parsed or executed. To select this behavior on program + If set to <literal>all</literal>, all nonempty input lines are printed + to standard output as they are read. (This does not apply to lines + read interactively.) To select this behavior on program start-up, use the switch <option>-a</option>. If set to <literal>queries</literal>, - <application>psql</application> merely prints all queries as - they are sent to the server. The switch for this is + <application>psql</application> prints each query to standard output + as it is sent to the server. The switch for this is <option>-e</option>. </para> </listitem>