Convert command line version arguments to integer

Fix an erroneous command line version arguments usage.
Merge pull request #2 from milabs/master

Please pull the commit