commandlineparser / commandlineparser/commandline

unused positional argument / value

Open
#847 2 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

I got no parsing error if a positional argument is present

example:
no value/positional arguments allowed at all

option with space
abc.exe -t myPath/with a/unwandted/space

so the option is myPath/with and the rest is completely lost without an error

Am I missing a special configuration here?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the reported command, `abc.exe -t myPath/with a/unwandted/space`, and inspect how the parser handles the extra positional value. Done means the unused positional argument is rejected with a parsing error, or the supported configuration for rejecting it is clearly established.

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
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.