dotnet / dotnet/command-line-api
HasOption alternative When migrating to 2.0 beta5
Open
Area-API
- Dominant language
- C#
- Stars
- 3.7k
- Forks
- 428
- PR merge metrics
- No merged PRs in 30d
Description
When migrating to 2.0 beta 5, the `ParseResult.HasOption` is not there any more, and seems not mentioned in the migration guide, is there alternative for it?
I use it to see whether the user has that option input
https://learn.microsoft.com/en-us/dotnet/standard/commandline/migration-guide-2.0.0-beta5
Contributor guide
Assessment
This issue has not been assessed yet.