Hi,
Can we have more than one value added to positional_options_description ie
positional_options_description  posOpt;
posOpt.add( "A", -1 );
posOpt.add( "B", -1 );
posOpt.add( "C", -1 );
Thanks
Swapna

Hartmut Kaiser <hartmut.kaiser@gmail.com> wrote:

> Can Anyone suggest how to use commandline options with boost.
> My requirement is: tool.exe -a "Parameter1" Parameter2
> parameter I would run tool.exe with 3 parameters. also i have
> many commandline options.
> Can anyone please help me in assisting how to use boost
> library for this.

Have you seen the Boost.ProgramOptions library here:
http://www.boost.org/doc/html/program_options.html?

Regards Hartmut


_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users


Forgot the famous last words? Access your message archive online. Click here.