Improved opts documentation

Fixed order or function arguments on options example and added full
example of options usage