Added option to stop parsing after first non option

This behavior conforms to strict POSIX behavior,
similar to getopt + or POSIXLY_CORRECT