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

Update option parsing to popl.hpp #243

Open
graeme-a-stewart opened this issue May 31, 2024 · 0 comments
Open

Update option parsing to popl.hpp #243

graeme-a-stewart opened this issue May 31, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@graeme-a-stewart
Copy link
Member

Using getopt_long for options is quite clunky and awkward, e.g., the syntax for options is poor, no support for proper default values and no generation of a --help text.

We could replace it with popl.hpp, the Program Options Parser Library. It addresses all of the defects above and it's a single header file that we can have in the repository, so there is no additional dependency (c.f. Boost.Program_options).

@graeme-a-stewart graeme-a-stewart added the enhancement New feature or request label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant