You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Line wrapping in PS Core in-the-box help does not indent appropriately #7175
Long spans of help text that wrap lines do not honor indentation on subsequent lines. This results in a less than pleasant reading experience. Here is what I'm seeing in 6.1 preview 3 on Windows:
Compare this to the nicer formatted 5.1 help:
There is also a typo in the 6.1 Get-ChildItem Description - it says all child continers and it should be all child containers. Apparently that has been introduced by the rendered as the typo isn't in the source doc.
Environment data
>$PSVersionTable
Name Value
---------
PSVersion 6.1.0-preview.3
PSEdition Core
GitCommitId v6.1.0-preview.3
OS Microsoft Windows 10.0.17134
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0...}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
Steve Lee (@SteveL-MSFT) I don't think this is help system or Future. I think it is a regression in the formatting system.
Probably got broken with the format trimming work.
Staffan Gustafsson (@powercode) the help formatting doesn't go through the tablewriter so not related to #7179. I checked with 6.0.2 and it's the same issue when you pipe help to a pager, so it's not a regression from the formatting changes, but I think it's something in the HelpSystem. It's in future since it's not blocking 6.1 release. future is the new backlog.
Reacted by Staffan Gustafsson and Rain Sallow (/u/ta11ow)
changed the title [-]Line wrapping in PS Core in-the-box does not indent appropriately [/-][+]Line wrapping in PS Core in-the-box help does not indent appropriately [/+]on Jun 27, 2018
Activity
powercode commentedon Jun 26, 2018
Steve Lee (@SteveL-MSFT) I don't think this is help system or Future. I think it is a regression in the formatting system.
Probably got broken with the format trimming work.
powercode commentedon Jun 26, 2018
#7179
SteveL-MSFT commentedon Jun 26, 2018
Staffan Gustafsson (@powercode) the help formatting doesn't go through the tablewriter so not related to #7179. I checked with 6.0.2 and it's the same issue when you pipe help to a pager, so it's not a regression from the formatting changes, but I think it's something in the HelpSystem. It's in
futuresince it's not blocking 6.1 release.futureis the newbacklog.[-]Line wrapping in PS Core in-the-box does not indent appropriately [/-][+]Line wrapping in PS Core in-the-box help does not indent appropriately [/+]rkeithhill commentedon Feb 25, 2019
This issue gives PoweShell Core a bit of a black eye when it comes to help topic readibility. I have found that I can correct this like so:
Pipe help system output through Out-String -Width when not using more
Set the string output width when sending help to pager app
Fix help paging issues on macOS/Linux and with custom pager that take…
Fix help paging issues on macOS/Linux and with custom pager that take…