Optparser changes

The opt parser changes are  done only single char is allowed as options