support --version option
Merge pull request #287 from kmuto/add-version-option

support --version option