Pspolar symbol outline colors

Hi, I want to change the color to the outlines in pspolar. I can change one set of quadrants but not both at the same time. For example, this works:

gmt pspolar -JX10 -R0/4/0/4 -D2/2 -M5 -Ss.4 -Fgray -Ered -Gblue -Qeblue << EOF > tmp.ps
ABCD 82.0000 161.0000 -
EFGH 243.0000 172.0000 +
EOF

but this does not:

gmt pspolar -JX10 -R0/4/0/4 -D2/2 -M5 -Ss.4 -Fgray -Ered -Gblue -Qeblue -Qgred << EOF > tmp.ps
ABCD 82.0000 161.0000 -
EFGH 243.0000 172.0000 +
EOF

giving the error:
pspolar [ERROR]: Option -Q: Given more than once (offending option is -Qgred)

but the documentation indicates that the -Qmode option is repeatable. How do I use -Qe and -Qg at the same time to change both colors?

thanks

Good catch. yes, the parsing is too harsh here. I will fix this and submit a PR later today and update this post.

Should be fixed in this PR.

This also seems to be true for psmeca -F options

I looked at the code and things are handled OK there as far as I can tell [I did not run any specific checks]. Please share a command that fails and I will have a deeper look.

echo 2 2 0 31 90 -94 5 | gmt psmeca -JX10 -R0/4/0/4 -Sa10 -N -: -O -K -G050 -E220 -L1 -P -Fa12p/t -Fered > tmp.ps

psmeca [ERROR]: Option -F: Given more than once (offending option is -Fered)

What GMT version? It runs without incident for me with master.

sorry, I was on 6.3.0
will update and try again later
thanks

No worries.