catchorg / Clara

A simple to use, composable, command line parser for C++ 11 and beyond
Boost Software License 1.0
649 stars 67 forks source link

Provide mechanism for general description text, that is not specific to any option or argument #48

Open claremacrae opened 6 years ago

claremacrae commented 6 years ago

For background, see twitter discussion here: https://twitter.com/ClareMacraeUK/status/949415455399268353

Summary: It would be great to be able provide some descriptive prose to the parser, and have that nicely formatted and included when writing out help text.

My case is that I'm writing out Clara's usage text twice - once on error, and once on --help, and I'd like to insert some text between Clara's "usage:" and "where the options are:" lines.

parnmatt commented 5 years ago

:+1: