File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -73,8 +73,7 @@ function New-MarkdownHelp
7373
7474 [hashtable ]$Metadata ,
7575
76- [Parameter (
77- ParameterSetName = " FromCommand" )]
76+ [Parameter (ParameterSetName = " FromCommand" )]
7877 [string ]$OnlineVersionUrl = ' ' ,
7978
8079 [Parameter (Mandatory = $true )]
@@ -653,7 +652,7 @@ function Update-MarkdownHelpModule
653652 if ( -not ($updatedCommands -contains $_ ) )
654653 {
655654 log ($LocalizedData.CreatingNewMarkdownForCommand -f $_ )
656- $newFiles = New-MarkdownHelp - Command $_ - OutputFolder $modulePath - AlphabeticParamsOrder:$AlphabeticParamsOrder
655+ $newFiles = New-MarkdownHelp - Command $_ - OutputFolder $modulePath - AlphabeticParamsOrder:$AlphabeticParamsOrder - Force: $Force
657656 $newFiles # yeild
658657 }
659658 }
@@ -812,7 +811,7 @@ function New-ExternalHelp
812811 Write-Verbose - Message ($LocalizedData.OutputPathAsDirectory -f ' [New-ExternalHelp]' , $OutputPath )
813812 }
814813
815- if ( -not $ShowProgress.IsPresent -or $ (Get-Variable - Name IsCoreClr - ValueOnly - ErrorAction SilentlyContinue) )
814+ if ( -not $ShowProgress -or $ (Get-Variable - Name IsCoreClr - ValueOnly - ErrorAction SilentlyContinue) )
816815 {
817816 Function Write-Progress () {}
818817 }
You can’t perform that action at this time.
0 commit comments