Opened 13 years ago
Last modified 12 years ago
#1670 closed defect
Fix help() — at Initial Version
Reported by: | Martin Sjölund | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | Backend | Version: | |
Keywords: | Cc: | Martin Sjölund, Per Östlund |
Description
We should remove the static help-text and generate this on-the-fly instead. The new flag system is capable of showing different text; so could the help() function.
{{{function help "display the OpenModelica help text"
output String helpText;
annotation(OpenModelica_EarlyInline = true);
algorithm
helpText := readFile(getInstallationDirectoryPath() + "/share/doc/omc/omc_helptext.txt");
annotation(preferredView="text");
end help;}}}
Note:
See TracTickets
for help on using tickets.