@@ -35,7 +35,7 @@ <h2>SYNOPSIS</h2>
3535 < div class ='PowerShellDoc '>
3636< h2 > SYNTAX</ h2 >
3737< div >
38- < b > Convert-HelpToHtmlTree</ b > [-Namespaces] < i > <String[]></ i > [[-TargetDir] < i > <String></ i > ] [[-TemplateName] < i > <String></ i > ] [[-DocTitle] < i > <String></ i > ] [[-Copyright] < i > <String></ i > ] [[-RevisionDate] < i > <String></ i > ] [-WhatIf] [-Confirm] [< i > <CommonParameters></ i > ]
38+ < b > Convert-HelpToHtmlTree</ b > [-Namespaces] < i > <String[]></ i > [[-TargetDir] < i > <String></ i > ] [[-TemplateName] < i > <String></ i > ] [[-DocTitle] < i > <String></ i > ] [[-Copyright] < i > <String></ i > ] [[-RevisionDate] < i > <String></ i > ] [-EnableExit] [- WhatIf] [-Confirm] [< i > <CommonParameters></ i > ]
3939< br />
4040< br /> </ div >
4141</ div >
@@ -330,6 +330,20 @@ <h2>PARAMETERS</h2>
330330< pre > Default value </ pre >
331331< pre > Accept pipeline input? false</ pre >
332332< pre > Accept wildcard characters? false</ pre >
333+ < br />
334+ -< strong > EnableExit [<SwitchParameter>]</ strong >
335+ < br />
336+ Causes Convert-HelpToHtmlTree to exit with an exit code equal to the number of errors detected.
337+ Use this to "fail" a build when there are documentation errors.
338+ Note that this switch causes the invoking shell to exit upon completion of the cmdlet as well!
339+ Thus, typically you do *not* want to use this switch interactively.
340+ < br />
341+ < br />
342+ < pre > Required? false</ pre >
343+ < pre > Position? named</ pre >
344+ < pre > Default value False</ pre >
345+ < pre > Accept pipeline input? false</ pre >
346+ < pre > Accept wildcard characters? false</ pre >
333347< br />
334348 -< strong > WhatIf [<SwitchParameter>]</ strong >
335349< br />
@@ -424,7 +438,7 @@ <h2>RELATED LINKS</h2>
424438
425439
426440< p > < i >
427- This documentation set was created with CleanCode's
441+ This documentation set was created with
428442< a target ="_blank " href ="https://github.com/msorens/DocTreeGenerator "> DocTreeGenerator</ a > .
429443</ i > </ p >
430444
0 commit comments