Raise a better error when failing to parse the command arguments Change-Id: I64fe123445bc22cd204fb0b62f31b9d913ed1ca7