Actually exit after printing version message

Signed-off-by: Masood Behabadi <masood@dentcat.com>
Merge pull request #28 from dentcat/master

Actually exit after printing version message