changeset 2503:7b55c7b6a300

Clarify the help for -R sub-option "max=".
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 28 Apr 2020 22:56:45 +0300
parents 19e546da038f
children f90a97aef546
files tools/gfxconv.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tools/gfxconv.c	Tue Apr 28 22:38:27 2020 +0300
+++ b/tools/gfxconv.c	Tue Apr 28 22:56:45 2020 +0300
@@ -319,11 +319,12 @@
             "  +alpha      Enable alpha value matching in color comparisions.\n"
             "              NOTE! This may result in unexpected behaviour.\n"
             "\n"
-            "  +max=<n.n>  Set the maximum color distance/delta acceptable for\n"
+            "  +max=<f>    Set the maximum color distance/delta acceptable for\n"
             "              matching colors. Default is -1, meaning closest possible\n"
             "              that can be found even if the match is poor. Any value \n"
-            "              above 0 will be considered strict limit, see 'nomatch'\n"
-            "              modifier below.\n"
+            "              above or equal to 0 will be considered strict limit, see\n"
+            "              the 'nomatch' modifier below.\n"
+            "              Range: -1, 0 .. 1.0\n"
             "\n"
             "  +nomatch=<n>\n"
             "              If no acceptable match is found (see +max modifier)\n"