Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rpavlik opened this issue May 1, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@rpavlik
Copy link

commented May 1, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.