Skip to content

[Clopts] Add option to ignore or warn on unknown arguments #4

Description

@Sirraide

Something like:

unknown_error // default, obviously
unknown_warn
unknown_ignore

Implement this as a type that stores an enumerator; we could expose the enumerator, but that would mean 1. more things to check, and 2. unknown<unknown_mode::error> is too verbose, and unknown<error> is just namespace pollution, so there’s no particularly good way of doing that...

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions