diff options
author | Brad King <brad.king@kitware.com> | 2007-02-06 20:05:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-02-06 20:05:56 (GMT) |
commit | bc8f3d504a5f45cb6fc664463d841c2aabb13fed (patch) | |
tree | 7f3537b130e628dc0cefa5b1cc8db971e065b2e0 /Source/cmDocumentation.cxx | |
parent | d240b7e48b8d6ba631ed60b69b68a8ed8c7655a1 (diff) | |
download | CMake-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.cxx | 12 |
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; |