commandlineparser / commandlineparser/commandline
Seperator does not appear in help text when diplaying default values
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
I have the following property in the options:
```
[Option("branch", Required = false, Separator = ',', HelpText = "Branches to include.",
Default = new[] { "master", "breakfix" })]
public IEnumerable 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.
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.