blob: b75e1b80bfe0d76979ca23a8c56207b838893fa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
include <string>;
class options
{
bool --help {"Print usage information and exit."};
std::string --greeting = "Hello"
{
"<text>",
"Use <text> as a greeting phrase instead of the default \"Hello\"."
};
unsigned int --exclamations = 1
{
"<num>",
"Print <num> exclamation marks instead of 1 by default."
};
};
|