summaryrefslogtreecommitdiffstats
path: root/Source/cmDocumentation.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2007-02-06 20:05:56 (GMT)
committerBrad King <brad.king@kitware.com>2007-02-06 20:05:56 (GMT)
commitbc8f3d504a5f45cb6fc664463d841c2aabb13fed (patch)
tree7f3537b130e628dc0cefa5b1cc8db971e065b2e0 /Source/cmDocumentation.cxx
parentd240b7e48b8d6ba631ed60b69b68a8ed8c7655a1 (diff)
downloadCMake-bc8f3d504a5f45cb6fc664463d841c2aabb13fed.zip
CMake-bc8f3d504a5f45cb6fc664463d841c2aabb13fed.tar.gz
CMake-bc8f3d504a5f45cb6fc664463d841c2aabb13fed.tar.bz2
BUG: Patch from Alex to fix single-command help broken by previous patch.
Diffstat (limited to 'Source/cmDocumentation.cxx')
-rw-r--r--Source/cmDocumentation.cxx12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmDocumentation.cxx b/Source/cmDocumentation.cxx
index 6594665..12c451a 100644
--- a/Source/cmDocumentation.cxx
+++ b/Source/cmDocumentation.cxx
@@ -252,16 +252,20 @@ bool cmDocumentation::PrintDocumentation(Type ht, std::ostream& os)
switch (ht)
{
- case cmDocumentation::Full: this->CurrentForm = TextForm; break;
- case cmDocumentation::HTML: this->CurrentForm = HTMLForm; break;
- case cmDocumentation::Man: this->CurrentForm = ManForm; break;
- case cmDocumentation::Usage:
+ case cmDocumentation::Full:
case cmDocumentation::Single:
case cmDocumentation::SingleModule:
case cmDocumentation::SingleProperty:
case cmDocumentation::List:
case cmDocumentation::ModuleList:
case cmDocumentation::PropertyList:
+ this->CurrentForm = TextForm;
+ break;
+
+ case cmDocumentation::HTML: this->CurrentForm = HTMLForm; break;
+ case cmDocumentation::Man: this->CurrentForm = ManForm; break;
+
+ case cmDocumentation::Usage:
case cmDocumentation::Copyright:
case cmDocumentation::Version:
this->CurrentForm = UsageForm;