diff options
author | Artur Kink <artur.kinK@gmail.com> | 2016-09-25 03:38:16 (GMT) |
---|---|---|
committer | Artur Kink <artur.kinK@gmail.com> | 2016-09-25 03:38:16 (GMT) |
commit | 98d3f8e7d581c589e7bd1a7faf98fc6736847cf1 (patch) | |
tree | f62392dd3c901ce841e5afe082696aff0fddc13a /src/pagedef.cpp | |
parent | d4beb392b452d14d375e1406ec4fb0f6436081ee (diff) | |
download | Doxygen-98d3f8e7d581c589e7bd1a7faf98fc6736847cf1.zip Doxygen-98d3f8e7d581c589e7bd1a7faf98fc6736847cf1.tar.gz Doxygen-98d3f8e7d581c589e7bd1a7faf98fc6736847cf1.tar.bz2 |
For manpages remove trailing dash when no brief description
Diffstat (limited to 'src/pagedef.cpp')
-rw-r--r-- | src/pagedef.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/pagedef.cpp b/src/pagedef.cpp index 6146a3c..ab64a88 100644 --- a/src/pagedef.cpp +++ b/src/pagedef.cpp @@ -229,12 +229,19 @@ void PageDef::writePageDocumentation(OutputList &ol) } ol.startTextBlock(); + QCString docStr = documentation()+inbodyDocumentation(); + if (!docStr.isEmpty()) + { + ol.disableAllBut(OutputGenerator::Man); + ol.writeString(" - "); + ol.enableAll(); + } ol.generateDoc( docFile(), // fileName docLine(), // startLine this, // context 0, // memberdef - documentation()+inbodyDocumentation(), // docStr + docStr, // docStr TRUE, // index words FALSE // not an example ); |