Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Seperator does not appear in help text when diplaying default values #490

Copy link
Copy link
@sorvis

Description

@sorvis
Issue body actions

I have the following property in the options:

[Option("branch", Required = false, Separator = ',', HelpText = "Branches to include.",
        Default = new[] { "master", "breakfix" })]
public IEnumerable<string> IncludeBranches { get; set; } 

The separator is set to ',' then a list of string is given for the default.

The help output is:

--branch                (Default: master breakfix) Branches to include.

This would be miss-leading to the user since it does not include the comma. Would it instead make sense to do something like this?

--branch                (Default: master,breakfix) Branches to include.
Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.