program_options: change output format?
Is there a way to change the output format that program_options::options_description uses for operator< I don't like the output format it uses by default, and I'd like to use the usual GNU format instead. Alternatively, is there a relatively easy way to iterate over all the entries in an options_description (which can be nested, I gather) in a way that I could print the help output myself? From looking over the interface, it seems that there's not really enough information exposed (via the public interface) to do this -- e.g., the "short name" of an option_description is private, and there doesn't seem to be any way to get access to the "groups" in options_descriptions. Thanks, -Miles -- Would you like fries with that?
BTW, in case nobody on this list knows the answer to my question, does anyone know the proper mail address for sending questions to the maintainer (of boost::program_options)? Thanks, -Miles -- "Though they may have different meanings, the cries of 'Yeeeee-haw!' and 'Allahu akbar!' are, in spirit, not actually all that different."
Miles Bader wrote:
BTW, in case nobody on this list knows the answer to my question, does anyone know the proper mail address for sending questions to the maintainer (of boost::program_options)?
You have it already -- boost-users@lists.boost.org. Asking questions about open-source tools by personal email generally does not work -- just like expecting an answer in less that 24 hours. To answer your question -- there's no way to change output format. If there's something missing in the interface that makes it impossible to write custom code for output, please enter an issue at svn.boost.org - Volodya
Vladimir Prus
To answer your question -- there's no way to change output format. If there's something missing in the interface that makes it impossible to write custom code for output, please enter an issue at svn.boost.org
Ok. [AFAICT, the public interface seeems to be missing quite a bit of info which would be necessary for this purpose.] -Miles -- Run away! Run away!
participants (2)
-
Miles Bader
-
Vladimir Prus