add -P option
diff --git a/doc/documentation.html b/doc/documentation.html
index bdd16fb..2e36b5c 100644
--- a/doc/documentation.html
+++ b/doc/documentation.html
@@ -202,6 +202,14 @@
 		</TR>
 		<TR>
 			<TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
+				-P #
+			</TD>
+			<TD>
+				  Tell the encoder to write a <TT>PADDING</TT> metadata block of the given length (in bytes) after the <TT>STREAMINFO</TT> block.  <TT>-P 0</TT> implies no <TT>PADDING</TT> block, which is the default.  This is useful if you plan to tag the file later with an <TT>APPLICATION</TT> block; instead of having to rewrite the entire file later just to insert your block, you can write directly over the <TT>PADDING</TT> block.
+			</TD>
+		</TR>
+		<TR>
+			<TD NOWRAP ALIGN="RIGHT" VALIGN="TOP" BGCOLOR="#F4F4CC">
 				-b #
 			</TD>
 			<TD>
diff --git a/man/flac.sgml b/man/flac.sgml
index 188a2f8..d3ae97a 100644
--- a/man/flac.sgml
+++ b/man/flac.sgml
@@ -134,6 +134,21 @@
 	      </varlistentry>
 
 	      <varlistentry>
+		<term><option>-P</option> <replaceable>bytes</replaceable></term>
+
+		<listitem>
+		  <para>Tell the encoder to write a PADDING metadata
+		    block of the given length (in bytes) after the
+		    STREAMINFO block.  -P 0 implies no PADDING block,
+		    which is the default.  This is useful if you plan
+		    to tag the file later with an APPLICATION block;
+		    instead of having to rewrite the entire file later
+		    just to insert your block, you can write directly
+		    over the PADDING block.</para>
+		</listitem>
+	      </varlistentry>
+
+	      <varlistentry>
 		<term><option>-b</option> <replaceable>blocksize</replaceable></term>
 
 		<listitem>