Skip to content
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

Only partial help available on Linux #10671

Closed
mike632t opened this issue Oct 1, 2019 · 6 comments
Closed

Only partial help available on Linux #10671

mike632t opened this issue Oct 1, 2019 · 6 comments
Labels
Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a OS-Linux Resolution-Answered The question is answered. WG-Interactive-HelpSystem help infrastructure and formatting of help

Comments

@mike632t
Copy link

mike632t commented Oct 1, 2019

After updating help only partial help is available - although no errors are shown during the update process (running these commands as root or with '-Scope CurrentUser' seems to make no difference).

PS /home/user> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.2.2
PSEdition                      Core
GitCommitId                    6.2.2
OS                             Linux 4.9.0-9-amd64 #1 SMP Debian 4.9.168-1+deb9u2 (2019-05-13)
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

PS /home/user> Update-Help
PS /home/user>                                                                                                                    
PS /home/user> Get-Help Update-Help   
NAME
Update-Help
SYNTAX
    Update-Help [[-Module] <string[]>] [[-SourcePath] <string[]>] [[-UICulture] <cultureinfo[]>] [-FullyQualifiedModule 
    <ModuleSpecification[]>] [-Recurse] [-Credential <pscredential>] [-UseDefaultCredentials] [-Force] [-Scope {CurrentUser | 
    AllUsers}] [-WhatIf] [-Confirm] [<CommonParameters>]
    
    Update-Help [[-Module] <string[]>] [[-UICulture] <cultureinfo[]>] [-FullyQualifiedModule <ModuleSpecification[]>] 
    [-LiteralPath <string[]>] [-Recurse] [-Credential <pscredential>] [-UseDefaultCredentials] [-Force] [-Scope {CurrentUser | 
    AllUsers}] [-WhatIf] [-Confirm] [<CommonParameters>]


ALIASES
    None


REMARKS
    Get-Help cannot find the Help files for this cmdlet on this computer. It is displaying only partial help.
        -- To download and install Help files for the module that includes this cmdlet, use Update-Help.
        -- To view the Help topic for this cmdlet online, type: "Get-Help Update-Help -Online" or
           go to https://go.microsoft.com/fwlink/?LinkID=210614.

PS /home/user>
@iSazonov iSazonov added WG-Interactive-HelpSystem help infrastructure and formatting of help Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a OS-Linux labels Oct 2, 2019
@Neurognostic
Copy link

I am seeing the same behavior on both powershell-preview-bin [7.0.0-preview.6-1] and powershell-bin [6.2.3-1].

Update-Help exits immediately without any errors no matter what parameter combinations I try. Running pwsh with sudo produces the same results. There are no Help files in $env:XDG_DATA_HOME.

@jrydval
Copy link

jrydval commented Feb 1, 2020

PS Variable:/> sudo pwsh -c "Update-Help -Force"
PS Variable:/>

Update-Help returns immediately, no error and no detailed help available. I am able to reproduce the same behaviour on 2 MacOS machines - first with PS installed from pkg and second where the PS was installed from a tar file.

@iSazonov
Copy link
Collaborator

iSazonov commented Feb 1, 2020

@sdwheeler Could you please comment the issue? What is current status for 7.0 version?

@sdwheeler
Copy link
Collaborator

Update-Help works in rc2. I haven't tested in rc1.

@iSazonov iSazonov added the Resolution-Answered The question is answered. label Feb 3, 2020
@msftbot
Copy link

msftbot bot commented Feb 5, 2020

This issue has been marked as answered and has not had any activity for 1 day. It has been closed for housekeeping purposes.

@msftbot msftbot bot closed this as completed Feb 5, 2020
@yecril71pl
Copy link
Contributor

Still reproducible as of 7.0.3 on Ubuntu 20, Please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Question ideally support can be provided via other mechanisms, but sometimes folks do open an issue to get a OS-Linux Resolution-Answered The question is answered. WG-Interactive-HelpSystem help infrastructure and formatting of help
Projects
None yet
Development

No branches or pull requests

6 participants