From 7eda006d2c935c6f13aa39c9a1e7001a5ac26cec Mon Sep 17 00:00:00 2001 From: Thomas Zander Date: Sat, 9 Jan 2016 11:27:29 +0100 Subject: [PATCH] Fix description of --rice-partition-order in flac -H This is more of a "human language versus programmer parlor" issue. src/flac/main.c will return usage error for an argument greater than FLAC__MAX_RICE_PARTITION_ORDER (15u). While in programming "0..16" usually means "from zero to 15", in natural human-to-human talk, it would rather mean "from zero to 16". This changes the wording a bit to avoid this misunderstanding. Closes: http://sourceforge.net/p/flac/bugs/352/ Signed-off-by: Erik de Castro Lopo --- src/flac/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/flac/main.c b/src/flac/main.c index f8625af4..6e715906 100644 --- a/src/flac/main.c +++ b/src/flac/main.c @@ -1613,9 +1613,9 @@ void show_explain(void) printf(" encoder decide (the minimun is %u, the\n", FLAC__MIN_QLP_COEFF_PRECISION); printf(" default is -q 0)\n"); printf(" -r, --rice-partition-order=[#,]# Set [min,]max residual partition order\n"); - printf(" (# is 0..16; min defaults to 0; the\n"); - printf(" default is -r 0; above 4 doesn't usually\n"); - printf(" help much)\n"); + printf(" (# is 0 to 15 inclusive; min defaults to 0;\n"); + printf(" the default is -r 0; above 4 does not\n"); + printf(" usually help much)\n"); printf("format options:\n"); printf(" --force-raw-format Force input (when encoding) or output (when\n"); printf(" decoding) to be treated as raw samples\n");