catchorg / Clara

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

Help for Args, like with Opt #88

Open parnmatt opened 5 years ago

parnmatt commented 5 years ago

Currently clara::Arg(filenames, "filename"s)("input filenames"s) does not produce an entry in the help; it's is common for a brief description to appear

usage:
    NAME [<filename> ... ] options

    where <filename> ...     input filenames
    where options are:
    ETC

or something similar.

Frankly, I also find it strange that the options appear after the arguments, rather than before, as is fairly standard.