Fixed parsing of the command line in the emulator.