wibble
0.1.28
|
Parser for commandline arguments, with builting help functions and manpage generation, and requiring a mandatory command. More...
#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 |
Parser for commandline arguments, with builting help functions and manpage generation, and requiring a mandatory command.
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::Help::outputHelp().
Referenced by withCommands().
Referenced by StandardParserWithMandatoryCommand().