Remap from command line

Hi,

With –color option on command line I can change the palette based on a file palette but, How can I do a remap to match the colors to the previous palette?

I’m using version 1.3.17