Skip to content

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

@KalleOlaviNiemitalo

Description

@KalleOlaviNiemitalo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    First-Time-IssueEasy issues first time contributors can work on to learn about this projectIssue-Questionideally support can be provided via other mechanisms, but sometimes folks do open an issue to get aUp-for-GrabsUp-for-grabs issues are not high priorities, and may be opportunities for external contributorsWG-Interactive-HelpSystemhelp infrastructure and formatting of help

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions