Avoiding Line Breaks in PowerShell Embedded Documentation

When I add the following documentation to the PowerShell function:

.PARAMETER Test The test parameter is nice and it looks pretty cool. 

I get this help when I use the Get-Help FunctionName -Parameter Test :

 -Test <Object> The test parameter is nice and it looks pretty cool. 

I want this to be:

 -Test <Object> The test parameter is nice and it looks pretty cool. 

How can I avoid line breaks?

I want a line to break in my source code because long lines are hard to read. The sample has a short paragraph, but my actual inline documentation has long paragraphs.

+4
source share
1 answer

I do not see any other option than writing it on one line. If you have long lines, try breaking them after 80 characters or so.

+2
source

All Articles