void HelpWriterContext::writeTextBlock(const std::string &text) const
{
    TextLineWrapper wrapper;
    wrapper.settings().setLineLength(78);
    const char *program = ProgramInfo::getInstance().programName().c_str();
    std::string newText = replaceAll(text, "[PROGRAM]", program);
    outputFile().writeLine(wrapper.wrapToString(substituteMarkup(newText)));
}