WIP: letters
This commit is contained in:
parent
b1a2507801
commit
a48353148f
1 changed files with 4 additions and 1 deletions
5
main.cpp
5
main.cpp
|
@ -8,8 +8,11 @@ namespace po = boost::program_options;
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
std::string letters;
|
||||||
|
|
||||||
po::options_description desc("Erlaubte Optionen");
|
po::options_description desc("Erlaubte Optionen");
|
||||||
desc.add_options()("help,h", "Ausgabe der Hilfe");
|
desc.add_options()("help,h", "Ausgabe der Hilfe")("letters,l", po::value<std::string>(&letters),
|
||||||
|
"Enthaltene Buchstaben");
|
||||||
|
|
||||||
po::variables_map vm;
|
po::variables_map vm;
|
||||||
po::store(po::parse_command_line(argc, argv, desc), vm);
|
po::store(po::parse_command_line(argc, argv, desc), vm);
|
||||||
|
|
Loading…
Reference in a new issue