Skip to content
This repository was archived by the owner on Oct 28, 2021. It is now read-only.
This repository was archived by the owner on Oct 28, 2021. It is now read-only.

"Short" args must be single letter to work, but not checked #91

Description

@rpavlik

Discovered "the hard way" in a Catch2-using project that while you are allowed to add flags like ["-abc"] for an Opt, trying to actually specify it will never work - you'll just get:

Error(s) in input:
  Unrecognised token: -a

I imagine it's doing this because it wants to support combining short options. However, in that case, there should probably be a check at parser-creation time for single-letter usage with short option symbol.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions