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

Use first, not last, long name in usage message #363

Open
eyalroz opened this issue Aug 30, 2022 · 1 comment
Open

Use first, not last, long name in usage message #363

eyalroz opened this issue Aug 30, 2022 · 1 comment

Comments

@eyalroz
Copy link
Contributor

eyalroz commented Aug 30, 2022

After the fix for #240 is in, the library must choose a long option for the program usage information.

At the moment, it's not quite clear to me which logic it uses to select a long name - but it's not always choosing the first, nor always choosing the last.

@jarro2783
Copy link
Owner

I'll take a look at that, I hope it's not putting it into an unordered map or something.

amirsojoodi added a commit to amirsojoodi/cxxopts that referenced this issue Nov 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants