parse cmdline in testparser