A DescriptionTag field that carries the top-level CLI description.
More...
#include <argument.hh>
A DescriptionTag field that carries the top-level CLI description.
Add an instance of Description as a member of your argument specification struct to provide a paragraph that appears in the help output between the usage line and the options/positionals sections:
struct MyArgs {
};
Arg< Name, ShortName, pack::set_true, nargs::none > Flag
A boolean flag option that stores true when present.
A DescriptionTag field that carries the top-level CLI description.
Definition at line 379 of file argument.hh.
◆ Description() [1/3]
| cli::Description::Description |
( |
| ) |
|
|
constexprdefault |
◆ Description() [2/3]
template<std::size_t N>
| cli::Description::Description |
( |
const char(&) | s[N] | ) |
|
|
inlineconstexpr |
◆ Description() [3/3]
| cli::Description::Description |
( |
std::string_view | | ) |
|
|
constexprdelete |
◆ operator std::string_view()
| cli::Description::operator std::string_view |
( |
| ) |
const |
|
inlineconstexpr |
◆ text
| std::string_view cli::Description::text {} |
The documentation for this struct was generated from the following file: