Prevent "Undefined offset" notice

Occurred when option argument was in final position of argument list.
Merge pull request #14 from nstory/fix-option-arg-notice

Prevent "Undefined offset" notice