cxxopts icon indicating copy to clipboard operation
cxxopts copied to clipboard

Lightweight C++ command line option parser

Results 96 cxxopts issues
Sort by recently updated
recently updated
newest added

/home/pe/Projects/cxxopts/cxxopts/include/cxxopts.hpp(479): warning: integer operation result is out of range detected during: instantiation of "void cxxopts::values::detail::SignedCheck::operator()(__nv_bool, U, const std::string &) [with T=int64_t, U=unsigned long]" (506): here instantiation of "void cxxopts::values::detail::check_signed_range(__nv_bool, U,...

I was experimenting with cxxopts and I noticed that when we have several non-mandatory string options it is possible that the next option is taken as value by the previous...

With the following: ``` options.add_options() ("p,profiling" , "enable/disable profiling events" , cxxopts::value()->default_value("true")) ; ``` It isn't clear to me how to disable this option on the command line using the...

1st: thanks for this awesome library! I've been using it for a couple years on every c++ project I write. It's nice and simple and *just works*. It would be...

enhancement

I have found few things to be annoying and want to request few changes: 1. New functions. I do not want the library to construct strings and then manually print...

Hi. My application will have a lot of parameters, so I'd like to get the full list of arguments from cxxopts and save the set as a text file. Is...

enhancement

I tried using list or deque for positional args and this does not seem to work. I can't pass the desired type to parse positional as it not overloaded for...

enhancement

_(enhancement, feature request)_ Some times command line arguments are also passed to other libs (for example to doctest), so it would be better to have `void Options::parse(int argc, const char*...

I've a project under MSVC 2017. If `CXXOPTS_NO_RTTI` is not defined, any call to `xxx.as()` produce an exception. Exception occurs at line 1458 of cxxopts.hpp, deeper at line 291 of...

Without __declspec(selectany), for every file that the header is included in a new definition of LQUOTE, RQUOTE, integer_pattern, truthy_pattern, falsy_pattern, option_sepecifier, option_specifier_separator and option_matcher is created, each with their own...