Skip to content

commandline/src/CommandLine/Text/HelpText.cs AddLine() calls value.Trim() stripping out example spacing #236

@tomlm

Description

@tomlm

In generating help text spacing is supposed to be prefixed to the start of the line to make Usage sections easier to read.

AddLine() calls .Trim() which removes spacing from the start of the line. Since whitespace is used for formatting it should not be calling Trim()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions