|
Boost Users : |
From: swapna (swapna0282_at_[hidden])
Date: 2007-11-07 09:45:47
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_at_[hidden]> 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_at_[hidden]
http://lists.boost.org/mailman/listinfo.cgi/boost-users
---------------------------------
Forgot the famous last words? Access your message archive online. Click here.
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net