#include <parser.h>
Public Member Functions | |
| StandardParserWithMandatoryCommand (const std::string &appname, const std::string &version, int section, const std::string &author) | |
| bool | parse (int argc, const char *argv[]) |
| Parse the commandline. | |
Public Attributes | |
| Engine * | helpCommand |
| wibble::commandline::StandardParserWithMandatoryCommand::StandardParserWithMandatoryCommand | ( | const std::string & | appname, | |
| const std::string & | version, | |||
| int | section, | |||
| const std::string & | author | |||
| ) | [inline] |
References wibble::commandline::Engine::addEngine(), and helpCommand.
| bool wibble::commandline::StandardParserWithMandatoryCommand::parse | ( | int | argc, | |
| const char * | argv[] | |||
| ) |
Parse the commandline.
Reimplemented from wibble::commandline::StandardParserWithManpage.
References wibble::commandline::Engine::command(), wibble::commandline::Engine::foundCommand(), wibble::commandline::Parser::hasNext(), wibble::commandline::StandardParser::help, helpCommand, wibble::commandline::StandardParser::m_version, wibble::commandline::Engine::name(), wibble::commandline::Parser::next(), wibble::commandline::Help::outputHelp(), and wibble::commandline::StandardParserWithManpage::parse().
Referenced by withCommands().
Referenced by parse(), and StandardParserWithMandatoryCommand().
1.5.6