Boost logo

Boost Users :

From: Chris Weed (chrisweed_at_[hidden])
Date: 2006-05-30 23:12:46


This can be as easy as:
po::options_description desc("Options");
std::cout << desc << "\n" << " FILE1 FILE2 ..." std::endl;

Chris

On 5/30/06, Pierre THIERRY <nowhere.man_at_[hidden]> wrote:
> Hi,
>
> I'm just discovering po, and I wonder how to achieve the following: I
> want that the help message that I produce by streaming my options
> description to standard output also mentions the positional options, in
> the way that the traditional 'usage:' message does:
>
> usage: $PROG [options] FILE1 FILE2 ...
>
> Is it possible to do somethink like that? Am I clear?
>
> Curiously,
> Nowhere man
> --
> nowhere.man_at_[hidden]
> OpenPGP 0xD9D50D8A
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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