If it has no value, it is a boolean option. Just do addBooleanOption 'Xdoclint:none', true and it works fine.
addBooleanOption 'Xdoclint:none', true