|
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
http://article.gmane.org/gmane.comp.lib.boost.user/38506 that it's not
possible to replace arg with level but maybe putting <> around arg works
somehow?
Boris
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