Fixes bug with versioning in commandline parser

Change-Id: I2598cd5e8ce3e3386ef0f954db11eca45b96c518