summaryrefslogtreecommitdiffstats
path: root/Source/cmakemain.cxx
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-06-21 21:06:08 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-06-21 21:06:08 (GMT)
commit38df155dd394efd45dff887028b2e1a4c0969b03 (patch)
tree3f4d3c0c989321d01f1cfa1a4c2d8e6d045741ff /Source/cmakemain.cxx
parente6a935f39b2d15677830fdba8090d8c725165ca9 (diff)
downloadCMake-38df155dd394efd45dff887028b2e1a4c0969b03.zip
CMake-38df155dd394efd45dff887028b2e1a4c0969b03.tar.gz
CMake-38df155dd394efd45dff887028b2e1a4c0969b03.tar.bz2
documentation: preparation for making the man section configurable
This patch adds a man section number, which is then used by the DocumentationFormatterMan. The section number is right now always 1, detecting this from the file name will be the next step. Alex
Diffstat (limited to 'Source/cmakemain.cxx')
-rw-r--r--Source/cmakemain.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx
index 0b1d121..11a4267 100644
--- a/Source/cmakemain.cxx
+++ b/Source/cmakemain.cxx
@@ -418,7 +418,7 @@ int do_cmake(int ac, char** av)
{
doc.ClearSections();
doc.SetSection("NOTE", cmDocumentationNOTE);
- doc.Print(cmDocumentation::UsageForm, std::cerr);
+ doc.Print(cmDocumentation::UsageForm, 0, std::cerr);
return 1;
}
return result;