printing version number if prompted
Merge pull request #311 from shatterednirvana/show-version-only

printing version number if prompted