Add '-v' for the version, also support '--' options
Merge pull request #192 from LegNeato/version_opts2

Add '-v' for the version, also support '--' options