In general, the switches refer to global configuration settings such as language, while the commands represent common actions in Rational® Rhapsody® such as open or generate.
For switches, the general syntax is as follows:
-switchName=parameter
Example
Rhapsody.exe -lang=cpp ...
For commands, the general syntax is as follows:
-cmd=commandName parameter
Example
Rhapsody.exe -cmd=open modelName.rpy -cmd=generate
For both switches and commands, parameters are separated from the command name or previous parameter by a space. No quotation marks are used.
Switches and commands are not case-sensitive but parameters are.
All commands must be issued in a logical order. For example, since you must open a project before you can modify and save it, the open command must precede the save command in the command line.
There is no significance to the order of parameters.