update comment on -p
diff --git a/doc/documentation.html b/doc/documentation.html
index ee1399b..bdd16fb 100644
--- a/doc/documentation.html
+++ b/doc/documentation.html
@@ -341,7 +341,7 @@
-p
</TD>
<TD>
- Do exhaustive LP coefficient quantization optimization. This option overrides any <B><TT>-q</TT></B> option. It is expensive and typically will only improve the compression a tiny fraction of a percent.
+ Do exhaustive LP coefficient quantization optimization. This option overrides any <B><TT>-q</TT></B> option. It is expensive and typically will only improve the compression a tiny fraction of a percent. <B><TT>-q</TT></B> has no effect when <B><TT>-l 0</TT></B> is used.
</TD>
</TR>
<TR>
diff --git a/man/flac.sgml b/man/flac.sgml
index 0c9b5a1..c7e73c6 100644
--- a/man/flac.sgml
+++ b/man/flac.sgml
@@ -285,7 +285,8 @@
<listitem>
<para>Do exhaustive search of LP coefficient
- quantization (expensive!). Overrides -q</para>
+ quantization (expensive!). Overrides -q,
+ does nothing if using -l 0</para>
</listitem>
</varlistentry>
diff --git a/src/flac/main.c b/src/flac/main.c
index 12d41cc..c67bafe 100644
--- a/src/flac/main.c
+++ b/src/flac/main.c
@@ -355,7 +355,7 @@
printf(" -9 : synonymous with -l 32 -m -e -r 99 -p (very slow!)\n");
printf(" -e : do exhaustive model search (expensive!)\n");
printf(" -l max_lpc_order : 0 => use only fixed predictors\n");
- printf(" -p : do exhaustive search of LP coefficient quantization (expensive!); overrides -q\n");
+ printf(" -p : do exhaustive search of LP coefficient quantization (expensive!); overrides -q, does nothing if using -l 0\n");
printf(" -q bits : precision of the quantized linear-predictor coefficients, 0 => let encoder decide (min is %u, default is -q 0)\n", FLAC__MIN_QLP_COEFF_PRECISION);
printf(" -r level : rice parameter optimization level (level is 0..99, 0 => none, default is -r 0, above 4 doesn't usually help much)\n");
printf(" -V : verify a correct encoding by decoding the output in parallel and comparing to the original\n");