Fix bug in commandline parsing.