Skip to content

Add an option to ignored undeclared options #505

Description

@goldmar

Right now decline errors with Unexpected option whenever it is called with options that are not explicitly declared. There are cases when command-line options are used by libraries like Spark and I don't want to explicitly declare them in my application. Can we add a flag to Command.parse which would allow us to ignore undeclared options rather than error on them?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions