red-gate / XmlDoc2CmdletDoc

Create cmdlet XML help files from XML doc comments
Other
63 stars 24 forks source link

Issue #28: Parameterless Cmdlets generated with empty <command:syntax/> node #29

Closed VonOgre closed 7 years ago

VonOgre commented 7 years ago

Pretty simple fix, augmenting the Command.ParameterSetNames property to return the value of ParameterAttribute.AllParameterSets, at a minimum, if the command has no parameters of its own.

ChrisLambrou commented 7 years ago

Many thanks for this PR. It's been shipped in v 0.2.6 https://www.nuget.org/packages/XmlDoc2CmdletDoc/