Opened 13 years ago

Closed 12 years ago

#1670 closed defect (fixed)

Update help()

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 (last modified by Martin Sjölund)

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;

Change History (3)

comment:1 by Martin Sjölund, 12 years ago

Component: Backend
Description: modified (diff)

comment:2 by Martin Sjölund, 12 years ago

Milestone: 1.9.0
Status: newassigned

comment:3 by Martin Sjölund, 12 years ago

Resolution: fixed
Status: assignedclosed
Summary: Fix help()Update help()

Fixed in r12746.

Note: See TracTickets for help on using tickets.