I guess the only solution is to not have XBoard recognizing the WinBoard format. As far as I can see this should not cause any problems: settings are always saved in their own format, and for tourney files always in XBoard format (-variant shogi). It would make interchange of settings files between WinBoard and XBoard impossible, though.
So in args.h, replace the line
Code: Select all
} else if (ch == '/' || ch == '-') {
Code: Select all
} else if (ch == OPTCHAR || ch == '-') {
Perhaps in the future I will think of something smarter (like only not recognizing the WB format if it is really parsing a command line, rather than a file, so that you can still exchange files).
