dotnet / dotnet/command-line-api

Options with typos are treated as unmatched arguments

Open
#1,860 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
428
PR merge metrics
No merged PRs in 30d

Description

Repro:
```
dotnet tool install dotnet-ilverify --global --version 7.0.0-rc.1.22426.10`
ilverify --referenci c:\Windows\Microsoft.NET\Framework\v4.0.30319\mscorlib.dll
```

ILVerify source: https://github.com/dotnet/runtime/blob/main/src/coreclr/tools/ILVerify/Program.cs

Actual result:
`Error: No files matching --referenci`

Expected result:
`Error: Bad option --referenci`

Context: https://github.com/dotnet/runtime/pull/72082#issuecomment-1229134151 , https://github.com/dotnet/runtime/pull/72082#issuecomment-1256337732

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.