-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Get-Help (linux, ubuntu) #3419
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I think this is a side effect of a broken progressbar (which was fixed #3362). if you set |
This was not fixed with #3362 and something specific to formatting. Investigating. |
I can confirm that setting $progresspreference='silentlycontinue' appears to fix this problem in Debian Stretch |
Thank you! I got that this was honest mistake on my part, as later I figured out that as usual 'it is not what you are thinking you are saying but what you are actually saying'.
is actually searching for non existent Find (cmdlet or other object) which I would expect to be something existent, or hoped to find 'finding' commands in search engine way. All other Get-Help actually (existing cmdlets help) renders well on Linux. behaviour is the same for all unknown strings tried: $progresspreference='silentlycontinue' it works like charm even for Find.
|
'mela' is not matching anything. Error makes sense. |
@ljgww Get-Help tries to be smart. It searches for exact match, and if not found, tries to match the title, and if not found, tries matching content before giving up. If one match is found, it displays it, otherwise shows a list of potential topics. |
Get-Help on Ubuntu 14.04
$ powershell --version
powershell v6.0.0-alpha.17
Steps to reproduce
PS /home/lj> Get-Help Find Searching Help for Find ... [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo] Get-Help Searching Help for Find ... [oooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo]
Expected behaviour
Full help text
Actual behaviour
Seems that text rendering has no LF just CR so text gets overwritten with the new text in the stream.
In essence Get-Help is not usable at the moment as help text do not render properly.
Environment data
PS /home/lj> $PSVersionTable
Name Value
PSVersion 6.0.0-alpha
PSEdition Core
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 3.0.0.0
GitCommitId v6.0.0-alpha.17
CLRVersion
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
The text was updated successfully, but these errors were encountered: