Beispiel #1
0
void RestServer::handleHelp(const string& name, const string& value)
{
    HelpFormatter helpFormatter(options());
    helpFormatter.setCommand(commandName());
    helpFormatter.setUsage("OPTIONS");
    helpFormatter.setHeader("A rest server that serves rest data and handles rest udpates and commands");
    helpFormatter.format(std::cout);
    stopOptionsProcessing();
    _helpRequested = true;
}
Beispiel #2
0
void Plugin::handleHelp(const std::string& name, const std::string& value)
{
    HelpFormatter helpFormatter(options());
    helpFormatter.setCommand(commandName());
    helpFormatter.setUsage("OPTIONS");
    helpFormatter.setHeader(
            "git-bin plugin for git: Help with tracking of large files in git");
    helpFormatter.format(std::cout);
    stopOptionsProcessing();
    _terminate = true;
}
Beispiel #3
0
	void handleHelp(const CStringLiteral& name, const CStringLiteral& value)
	{
		m_help = true;
		stopOptionsProcessing();
	}
Beispiel #4
0
void BeeServer::handleHelp(const std::string& name, const std::string& value)
{
	setServerState(SERVER_QUERY);
	displayHelp();
	stopOptionsProcessing();
}
	void handleHelp(const std::string& name, const std::string& value)
	{
		_showHelp = true;
		stopOptionsProcessing();
	}
Beispiel #6
0
	void HALService::handleHelp(const std::string& name, const std::string& value) {
		displayHelp();
		stopOptionsProcessing();
	}