cxxopts
cxxopts copied to clipboard
Lightweight C++ command line option parser
I use this code: `("r, prefix", "Output file prefix", cxxopts::value(prefix))` It generates error: `C2679 binary '>>': no operator found which takes a right-hand operand of type 'T' (or there is...
Got compile error with flag `-Wall -Werror -Wconversion` here is the output of compiler: ```g++ In file included from /home/thy/Downloads/cxxopts/src/example.cpp:27:0: /home/thy/Downloads/cxxopts/include/cxxopts.hpp: In instantiation of ‘void cxxopts::values::integer_parser(const string&, T&) [with T...
I think it would be nice to have optional and mandatory options that way no validation is needed to be done by the user
Are there any plans to implement options without arguments? (forced) There is an error for this (option_not_has_argument_exception), but it's not used anywhere.
An `unsigned long long` parameter throws a `cxxopts::argument_incorrect_type` when called with `ULLONG_MAX + 1` as expected ``` terminate called after throwing an instance of 'cxxopts::argument_incorrect_type' what(): Argument ‘18446744073709551616’ failed to...
Many utilities have `--help` output which includes paragraphs of text at the top level before and/or after the list of options. This is used to convey general information which is...
I have been trying various options with this handy library. But I hit a roadblock with a certain scenario. I would like to ask the program to generate output files...
Hi there, I have a use-case where I want to let a program consume arguments until a positional one. Arguments after any positional should be consumed by another parser with...
Clang Memory Sanitizer reports numerous warnings when trying to include `cxxopts.hpp` into the project. The simplest affected program is as follows: ```cpp #include int main(int argc, char *argv[]) {} ```...