I don't have the required roms to check but MAME doesn't barf parsing the command line.
There's also an easy way to check an option specification like this whether or not you have the ROMs: the -listdevices command parses slot options and includes all selected ones in its output.