Skip to content

Commit 9741244

Browse files
committed
- Updated the OMC usage text.
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@9949 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1 parent e26d09a commit 9741244

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

Compiler/Main/Main.mo

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1069,28 +1069,27 @@ algorithm
10691069
print("\t Model_functions.cpp the model functions C++ code\n");
10701070
print("\t Model.makefile the makefile to compile the model.\n");
10711071
print("\t Model_init.xml the initial values for parameters and start values\n");
1072-
print("\t+d=interactive will start omc as a server listening on the socket interface\n");
1073-
print("\t+d=interactiveCorba will start omc as a server listening on the Corba interface\n");
1072+
print("\t+d=interactive start omc as a server listening on the socket interface\n");
1073+
print("\t+d=interactiveCorba start omc as a server listening on the Corba interface\n");
10741074
print("\t+c=corbaName works togheter with +d=interactiveCorba;\n");
10751075
print("\t will start omc with a different Corba session name; \n");
10761076
print("\t this way multiple omc compilers can be started\n");
1077-
print("\t+s generate simulation code\n");
1078-
print("\t+annotationVersion=1.x what annotation version should we use\n");
1077+
print("\t+annotationVersion=1.x what annotation version should be used\n");
10791078
print("\t accept 1.x or 2.x (default) or 3.x\n");
10801079
print("\t+noSimplify do not simplify expressions (default is to simplify)\n");
10811080
print("\t+preOptModules=module1,.. pre optimisation modules (default is removeFinalParameters,removeEqualFunctionCalls,removeSimpleEquations,expandDerOperator)\n");
10821081
print("\t+pastOptModules=module1,.. past optimisation modules (default is lateInline,inlineArrayEqn,removeSimpleEquations)\n");
10831082
print("\t+indexReductionMethod=method index reduction method (default is dummyDerivative)\n");
1084-
print("\t+q run in quiet mode, output nothing\n");
1083+
//print("\t+q run in quiet mode, output nothing\n");
10851084
print("\t+g=MetaModelica accept MetaModelica grammar and semantics\n");
10861085
print("\t+showErrorMessages show error messages while they happen; default to no. \n");
10871086
print("\t+showAnnotations show annotations in the flat modelica output.\n");
10881087
print("\t+orderConnections=false disables alphabetical ordering of connections; default is true.\n");
1089-
print("\t+d=flags set debug flags: \n");
1088+
print("\t+d=flags set debug flags, where flags is a comma-delimited list: \n");
10901089
print("\t+d=bltdump dump the blt form\n");
10911090
print("\t+d=failtrace prints a lot of error messages; use if your model fails; see also below.\n");
10921091
print("\t+d=parsedump dump the parsing tree\n");
1093-
print("\t+d=parseonly will only parse the given file and exit\n");
1092+
//print("\t+d=parseonly will only parse the given file and exit\n");
10941093
print("\t+d=dynload display debug information about dynamic loading of compiled functions\n");
10951094
print("\t+d=nogen do not use the dynamic loading.\n");
10961095
print("\t+d=usedep use dependency analysis to speed up the compilation. [experimental].\n");
@@ -1105,14 +1104,14 @@ algorithm
11051104
print("\n");
11061105
print("* Examples:\n");
11071106
print("\tomc Model.mo will produce flattened Model on standard output\n");
1108-
print("\tomc Model.mof will produce flattened Model on standard output\n");
1107+
//print("\tomc Model.mof will produce flattened Model on standard output\n");
11091108
print("\tomc Script.mos will run the commands from Script.mos\n");
11101109
print("\tomc Model.mo Modelica will first load the Modelica library and then produce \n");
11111110
print("\t flattened Model on standard output\n");
11121111
print("\tomc Model1.mo Model2.mo will load both Model1.mo and Model2.mo, and produce \n");
11131112
print("\t flattened Model1 on standard output\n");
11141113
print("\t*.mo (Modelica files) \n");
1115-
print("\t*.mof (Flat Modelica files) \n");
1114+
//print("\t*.mof (Flat Modelica files) \n");
11161115
print("\t*.mos (Modelica Script files) \n");
11171116
end printUsage;
11181117

0 commit comments

Comments
 (0)