Boost logo

Boost Users :

Subject: [Boost-users] [program_options] Decorating output
From: Boris (boriss_at_[hidden])
Date: 2008-10-04 17:14:54

When I send options_description to cout I would like to put an empty line
between the caption and the options - something like:

Allowed options:

   --help produce help message
   --compression arg set compression level

As : is automatically appended to the caption it's not possible to add \n.
Is this what I'm trying to do supported?

Another question: Can the argument arg behind the --compression option
above be changed to <arg>? I read at that it's not
possible to replace arg with level but maybe putting <> around arg works


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at