commandlineparser / commandlineparser/commandline

Option parser: when value is the same as full parameter name

Open
#238 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
4.8k
Forks
478
PR merge metrics
No merged PRs in 30d

Description

Part of command line model:

```
[Option('o', "output", Separator = ' ')]
public IEnumerable OutputPathsList { get; set; }

[Option('d', "output-dir")]
public string OutputDir { get; set; }
```

And part of command line:
`--output-dir output -o :loop :magic_value`

if 'ouput' value is the same as full parameter name "output" I'll get empty OutputPathsList.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.