Skip to content

Description of -NoLogo in pwsh -Help is not indented like other descriptions #13516

Closed

Description

Steps to reproduce

pwsh -Help

Expected behavior

The descriptions of all parameters should be indented equally.

Excerpt:

-NoLogo | -nol

    Hides the copyright banner at startup.

-NonInteractive | -noni

    Does not present an interactive prompt to the user.

Actual behavior

The description of -NoLogo is not indented, although the descriptions of all other parameters are indented.

Excerpt:

-NoLogo | -nol

Hides the copyright banner at startup.

-NonInteractive | -noni

    Does not present an interactive prompt to the user.

Environment data

Name                           Value
----                           -----
PSVersion                      7.1.0-preview.6
PSEdition                      Core
GitCommitId                    7.1.0-preview.6
OS                             Microsoft Windows 10.0.19041
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Other information

It looks like the indentation of the -NoLogo description was removed in https://github.com/PowerShell/PowerShell/pull/9952/files#diff-70501a97e321098c37b217dbb3981826R307-R309, i.e. after v7.0.0-preview.1.

Activity

  1. added
    Issue-Question
    on Aug 25, 2020
  2. added
    CL-CodeCleanup
    First-Time-Issue
    Up-for-Grabs
    WG-Interactive-HelpSystem
    and removed
    CL-CodeCleanup
    on Aug 26, 2020
  3. KalleOlaviNiemitalo commented on Sep 7, 2020

    @KalleOlaviNiemitalo
    Author

    I don't see any Microsoft.PowerShell.ConsoleHost.resources.dll files in my PowerShell 7.1.0-preview.6 installation, so the -Help output apparently does not have any translations that would have to be checked for the same flaw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    First-Time-IssueIssue-QuestionUp-for-GrabsWG-Interactive-HelpSystem

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions