commandlineparser / commandlineparser/commandline
Single dash in value treated as Option
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 478
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
this seems strange, but I'm having problem with using Parser like:
--parameter "-someValue", because Parser treats "-someValue" as Option, which can't find.
Here in wiki, we can see --suffix parameter with value "-2019". It doesn't seem to work in my project.
https://github.com/commandlineparser/commandline/wiki/Option-Groups
option EnableDashDash = true doesn't help either. Any help with this?
Contributor guide
No contributing guide indexed for this repository
Research direction
No source files or tests are named. Start by reproducing the command-line invocation from the report and compare it with the Option-Groups wiki example, including EnableDashDash. Done means a value such as "-someValue" is accepted as the value for --parameter rather than parsed as another option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100