Fix findoption_len: it was not correctly finding short options