[flac-dev] [PATCH] Fix option names in documentation and help messages.

Miroslav Lichvar mlichvar at redhat.com
Wed Mar 27 09:49:19 PDT 2013


---
 doc/html/documentation_tools_flac.html | 8 +++++---
 doc/html/ru/documentation.html         | 2 +-
 man/flac.1                             | 6 ++++--
 man/flac.sgml                          | 5 +++--
 src/flac/main.c                        | 4 +++-
 5 files changed, 16 insertions(+), 9 deletions(-)

diff --git a/doc/html/documentation_tools_flac.html b/doc/html/documentation_tools_flac.html
index 759081c..5f7d67f 100644
--- a/doc/html/documentation_tools_flac.html
+++ b/doc/html/documentation_tools_flac.html
@@ -963,7 +963,7 @@
 					<span class="argument">--input-size=#</span>
 				</td>
 				<td>
-					Specify the size of the raw input in bytes.  If you are encoding raw samples from stdin, you must set this option in order to be able to use --skip, --until, --cue-sheet, or other options that need to know the size of the input beforehand.  If the size given is greater than what is found in the input stream, the encoder will complain about an unexpected end-of-file.  If the size given is less, samples will be truncated.
+					Specify the size of the raw input in bytes.  If you are encoding raw samples from stdin, you must set this option in order to be able to use --skip, --until, --cuesheet, or other options that need to know the size of the input beforehand.  If the size given is greater than what is found in the input stream, the encoder will complain about an unexpected end-of-file.  If the size given is less, samples will be truncated.
 				</td>
 			</tr>
 			<tr>
@@ -1017,6 +1017,7 @@
 			<tr>
 				<td nowrap="nowrap" align="right" valign="top" bgcolor="#F4F4CC">
 					<span class="argument">--no-adaptive-mid-side</span><br />
+					<span class="argument">--no-cued-seekpoints</span><br />
 					<span class="argument">--no-decode-through-errors</span><br />
 					<span class="argument">--no-delete-input-file</span><br />
 					<span class="argument">--no-escape-coding</span><br />
@@ -1026,7 +1027,7 @@
 					<span class="argument">--no-mid-side</span><br />
 					<span class="argument">--no-ogg</span><br />
 					<span class="argument">--no-padding</span><br />
-					<span class="argument">--no-qlp-coeff-precision-search</span><br />
+					<span class="argument">--no-qlp-coeff-prec-search</span><br />
 					<span class="argument">--no-residual-gnuplot</span><br />
 					<span class="argument">--no-residual-text</span><br />
 					<span class="argument">--no-sector-align</span><br />
@@ -1108,6 +1109,7 @@
 		<a href="#flac_options_max_lpc_order"><span class="argument">--max-lpc-order</span></a><br />
 		<a href="#flac_options_mid_side"><span class="argument">--mid-side</span></a><br />
 		<a href="#negative_options"><span class="argument">--no-adaptive-mid-side</span></a><br />
+		<a href="#negative_options"><span class="argument">--no-cued-seekpoints</span></a><br />
 		<a href="#negative_options"><span class="argument">--no-decode-through-errors</span></a><br />
 		<a href="#negative_options"><span class="argument">--no-delete-input-file</span></a><br />
 		<a href="#negative_options"><span class="argument">--no-escape-coding</span></a><br />
@@ -1118,7 +1120,7 @@
 		<a href="#negative_options"><span class="argument">--no-ogg</span></a><br />
 		<a href="#negative_options"><span class="argument">--no-padding</span></a><br />
 		<a href="#negative_options"><span class="argument">--no-preserve-modtime</span></a><br />
-		<a href="#negative_options"><span class="argument">--no-qlp-coeff-precision-search</span></a><br />
+		<a href="#negative_options"><span class="argument">--no-qlp-coeff-prec-search</span></a><br />
 		<a href="#negative_options"><span class="argument">--no-residual-gnuplot</span></a><br />
 		<a href="#negative_options"><span class="argument">--no-residual-text</span></a><br />
 		<a href="#negative_options"><span class="argument">--no-sector-align</span></a><br />
diff --git a/doc/html/ru/documentation.html b/doc/html/ru/documentation.html
index 3497c2b..1c056af 100644
--- a/doc/html/ru/documentation.html
+++ b/doc/html/ru/documentation.html
@@ -437,7 +437,7 @@
 <TT>--no-mid-side</TT><BR>
 <TT>--no-ogg</TT><BR>
 <TT>--no-padding</TT><BR>
-<TT>--no-qlp-coeff-precision-search</TT><BR>
+<TT>--no-qlp-coeff-prec-search</TT><BR>
 <TT>--no-residual-gnuplot</TT><BR>
 <TT>--no-residual-text</TT><BR>
 <TT>--no-sector-align</TT><BR>
diff --git a/man/flac.1 b/man/flac.1
index bd112af..411963b 100644
--- a/man/flac.1
+++ b/man/flac.1
@@ -283,7 +283,7 @@ Set sample rate (in Hz).
 Set the sign of samples (the default is signed).
 .TP
 \fB--input-size=\fI#\fB\fR
-Specify the size of the raw input in bytes.  If you are encoding raw samples from stdin, you must set this option in order to be able to use --skip, --until, --cue-sheet, or other options that need to know the size of the input beforehand.  If the size given is greater than what is found in the input stream, the encoder will complain about an unexpected end-of-file.  If the size given is less, samples will be truncated.
+Specify the size of the raw input in bytes.  If you are encoding raw samples from stdin, you must set this option in order to be able to use --skip, --until, --cuesheet, or other options that need to know the size of the input beforehand.  If the size given is greater than what is found in the input stream, the encoder will complain about an unexpected end-of-file.  If the size given is less, samples will be truncated.
 .TP
 \fB--force-raw-format\fR
 Force input (when encoding) or output (when decoding) to be treated as raw samples (even if filename ends in \fI\&.wav\fR).
@@ -300,6 +300,8 @@ Force the decoder to output Wave64 format.  This option is not needed if the out
 .TP
 \fB--no-adaptive-mid-side\fR
 .TP
+\fB--no-cued-seekpoints\fR
+.TP
 \fB--no-decode-through-errors\fR
 .TP
 \fB--no-delete-input-file\fR
@@ -320,7 +322,7 @@ Force the decoder to output Wave64 format.  This option is not needed if the out
 .TP
 \fB--no-padding\fR
 .TP
-\fB--no-qlp-coeff-precision-search\fR
+\fB--no-qlp-coeff-prec-search\fR
 .TP
 \fB--no-replay-gain\fR
 .TP
diff --git a/man/flac.sgml b/man/flac.sgml
index 587e377..df69aa6 100644
--- a/man/flac.sgml
+++ b/man/flac.sgml
@@ -648,7 +648,7 @@
 	  <term><option>--input-size</option>=<replaceable>#</replaceable></term>
 
 	  <listitem>
-	    <para>Specify the size of the raw input in bytes.  If you are encoding raw samples from stdin, you must set this option in order to be able to use --skip, --until, --cue-sheet, or other options that need to know the size of the input beforehand.  If the size given is greater than what is found in the input stream, the encoder will complain about an unexpected end-of-file.  If the size given is less, samples will be truncated.</para>
+	    <para>Specify the size of the raw input in bytes.  If you are encoding raw samples from stdin, you must set this option in order to be able to use --skip, --until, --cuesheet, or other options that need to know the size of the input beforehand.  If the size given is greater than what is found in the input stream, the encoder will complain about an unexpected end-of-file.  If the size given is less, samples will be truncated.</para>
 	  </listitem>
 	</varlistentry>
 
@@ -693,6 +693,7 @@
       <variablelist>
 	<varlistentry>
 	  <term><option>--no-adaptive-mid-side</option></term>
+	  <term><option>--no-cued-seekpoints</option></term>
 	  <term><option>--no-decode-through-errors</option></term>
 	  <term><option>--no-delete-input-file</option></term>
 	  <term><option>--no-preserve-modtime</option></term>
@@ -703,7 +704,7 @@
 	  <term><option>--no-mid-side</option></term>
 	  <term><option>--no-ogg</option></term>
 	  <term><option>--no-padding</option></term>
-	  <term><option>--no-qlp-coeff-precision-search</option></term>
+	  <term><option>--no-qlp-coeff-prec-search</option></term>
 	  <term><option>--no-replay-gain</option></term>
 	  <term><option>--no-residual-gnuplot</option></term>
 	  <term><option>--no-residual-text</option></term>
diff --git a/src/flac/main.c b/src/flac/main.c
index 3880d09..a8186e8 100644
--- a/src/flac/main.c
+++ b/src/flac/main.c
@@ -1281,6 +1281,7 @@ void show_help(void)
 	printf("      --force-wave64-format    Force decoding to Wave64 format\n");
 	printf("negative options:\n");
 	printf("      --no-adaptive-mid-side\n");
+	printf("      --no-cued-seekpoints\n");
 	printf("      --no-decode-through-errors\n");
 	printf("      --no-delete-input-file\n");
 	printf("      --no-preserve-modtime\n");
@@ -1600,7 +1601,7 @@ void show_explain(void)
 	printf("      --input-size=#           Size of the raw input in bytes.  If you are\n");
 	printf("                               encoding raw samples from stdin, you must set\n");
 	printf("                               this option in order to be able to use --skip,\n");
-	printf("                               --until, --cue-sheet, or other options that need\n");
+	printf("                               --until, --cuesheet, or other options that need\n");
 	printf("                               to know the size of the input beforehand.  If\n");
 	printf("                               the size given is greater than what is found in\n");
 	printf("                               the input stream, the encoder will complain\n");
@@ -1625,6 +1626,7 @@ void show_explain(void)
 	printf("                               auto-detected.\n");
 	printf("negative options:\n");
 	printf("      --no-adaptive-mid-side\n");
+	printf("      --no-cued-seekpoints\n");
 	printf("      --no-decode-through-errors\n");
 	printf("      --no-delete-input-file\n");
 	printf("      --no-preserve-modtime\n");
-- 
1.8.1.2



More information about the flac-dev mailing list