BUG: Patch from Alex to fix single-command help broken by previous patch.
This commit is contained in:
parent
d240b7e48b
commit
bc8f3d504a
|
@ -252,16 +252,20 @@ bool cmDocumentation::PrintDocumentation(Type ht, std::ostream& os)
|
||||||
|
|
||||||
switch (ht)
|
switch (ht)
|
||||||
{
|
{
|
||||||
case cmDocumentation::Full: this->CurrentForm = TextForm; break;
|
case cmDocumentation::Full:
|
||||||
case cmDocumentation::HTML: this->CurrentForm = HTMLForm; break;
|
|
||||||
case cmDocumentation::Man: this->CurrentForm = ManForm; break;
|
|
||||||
case cmDocumentation::Usage:
|
|
||||||
case cmDocumentation::Single:
|
case cmDocumentation::Single:
|
||||||
case cmDocumentation::SingleModule:
|
case cmDocumentation::SingleModule:
|
||||||
case cmDocumentation::SingleProperty:
|
case cmDocumentation::SingleProperty:
|
||||||
case cmDocumentation::List:
|
case cmDocumentation::List:
|
||||||
case cmDocumentation::ModuleList:
|
case cmDocumentation::ModuleList:
|
||||||
case cmDocumentation::PropertyList:
|
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::Copyright:
|
||||||
case cmDocumentation::Version:
|
case cmDocumentation::Version:
|
||||||
this->CurrentForm = UsageForm;
|
this->CurrentForm = UsageForm;
|
||||||
|
|
Loading…
Reference in New Issue