Top "Boost-program-options" questions

Boost.

Required and Optional Arguments Using Boost Library Program Options

I'm using Boost Program Options Library to parse the command line arguments. I have the following requirements: Once "help" is …

c++ boost boost-program-options required optional
Vector arguments in Boost Program Options

I have two related questions: What is the simplest way to allow passing a series of values, using Boost Program …

c++ boost boost-program-options
How to solve "boost::bad_any_cast: failed conversion using boost::any_cast" when using boost program options?

//Using boost program options to read command line and config file data #include <boost/program_options.hpp> using …

c++ boost types casting boost-program-options
Cannot find C++ library when linking, error compliling the `boost::program_options` example

I am trying to compile the multiple_sources.cpp to compile on my computer. I am running Xubuntu Lucid Lynx …

c++ boost boost-program-options
How do I get default argument values with boost program options?

I want to use default values for some of my command line arguments. How do I tell program_options what …

c++ boost boost-program-options
boost-program-options: notifier for options with no value

One can use notifier for parsed options only if they have value_semantic. What is the best way for no-value …

c++ boost-program-options
BOOST program_options: parsing multiple argument list

I would like to pass the multiple arguments with positive or negative values. Is it possible to parse it? Currently …

c++ boost boost-program-options
How to use boost::program_options to accept an optional flag?

I need to implement an optional flag, say -f/--flag. Since this is a flag, there is no value associated. …

c++ boost boost-program-options
Boost program options allowed set of input values

Is there a way to set an allowed set of input variables for parameters? For example parameter "arg" can have …

c++ boost-program-options
boost program_options multiple values problem

So I'm working off one of the examples for Boost program_options library, and I wanted to try setting a …

c++ boost boost-program-options