Skip to content

HasOption alternative When migrating to 2.0 beta5 #2598

Open
@WeihanLi

Description

@WeihanLi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions