PowerShell / platyPS

Write PowerShell External Help in Markdown
MIT License
778 stars 152 forks source link

V2 Get-MarkdownMetadata Path parameter position should be 0 #536

Closed sdwheeler closed 2 years ago

sdwheeler commented 3 years ago

Parameter positions are zero-based. Path is the first positional parameter so its position should be 0 not 1.

https://github.com/PowerShell/platyPS/blob/c4762f31fd542e74b63c453835f9c79a5e8ca6cd/src/GetMarkdownMetadataCommand.cs#L24-L28