# HG changeset patch # User Matti Hamalainen # Date 1588156556 -10800 # Node ID e1a71d9eaedeef83fb84b22eff75c6061f96a6e9 # Parent 0c0576544d418026c9aaea3c0c9e82d9b4e644f6 Some improvements/fixes to -R option help. diff -r 0c0576544d41 -r e1a71d9eaede tools/gfxconv.c --- a/tools/gfxconv.c Wed Apr 29 01:31:20 2020 +0300 +++ b/tools/gfxconv.c Wed Apr 29 13:35:56 2020 +0300 @@ -301,12 +301,12 @@ " Example: '-R auto+remove -p pepto' would remap the input image to the\n" " internal Pepto's C64 palette, removing any unused palette entries.\n" "\n" - " 2) '-R <(#RRGGBBaa|index):index>[,<#RRGGBBaa|index>:index]'\n" + " 2) '-R <#RRGGBBaa|index>:[,<(#RRGGBBaa|index):[,...]]'\n" " can be used to specify single RGB(A) color quadruplets/triplets or\n" " palette indices to be remapped to destination palette indices. Any\n" - " Unspecified indices will be automatically mapped. Specifying alpha\n" - " channel is optional, and will require +alpha flag to be enabled for\n" - " comparisions.\n" + " unspecified indices will be automatically mapped. Specifying alpha\n" + " channel is optional, and will require +alpha flag/modifier to be\n" + " enabled for comparisions to take alpha channel into account.\n" "\n" " Example: '-R #000000:0,#ffffff:1' would map black and white to indices 0 and 1.\n" "\n"