commandlineparser / commandlineparser/commandline
When `IgnoreUnknownArguments` is true, do not assume any single-dash argument matches a correlating short character option
Open
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
Currently, Tokenizer will assume a match for a short option when it encounters a single-dash argument, when the first character matches. This is unexpected when `IgnoreUnknownArguments` is set to true--since it should ignore unknown arguments.
https://github.com/commandlineparser/commandline/blob/b0b0ec9f5470bacc0823c013a599ba3b4e115900/src/CommandLine/Core/Tokenizer.cs#L172-L183
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.