fixed bug where option's character and second character in the argument are equal
fixed argument passing with -ofoo