void displayHelp() { Poco::Util::HelpFormatter helpFormatter(options()); helpFormatter.setCommand(commandName()); helpFormatter.setUsage("OPTIONS"); helpFormatter.setHeader("TCP server sample application."); helpFormatter.format(std::cout); }
void displayHelp() { HelpFormatter helpFormatter(options()); helpFormatter.setCommand(commandName()); helpFormatter.setUsage("OPTIONS"); helpFormatter.setHeader("An echo client implemented using the Reactor and Acceptor patterns."); helpFormatter.format(std::cout); }
void displayHelp() { Poco::Util::HelpFormatter helpFormatter(options()); helpFormatter.setCommand(commandName()); helpFormatter.setUsage("OPTIONS"); helpFormatter.setHeader("A simple UPnP Controller."); helpFormatter.format(std::cout); }
void BeeServer::displayHelp() { HelpFormatter helpFormatter(options()); helpFormatter.setCommand(commandName()); helpFormatter.setUsage("OPTIONS"); helpFormatter.setHeader("A sample server application that demonstrates some of the features of the Util::ServerApplication class."); helpFormatter.format(std::cout); }
void displayHelp() { Poco::Util::HelpFormatter helpFormatter(options()); helpFormatter.setCommand(commandName()); helpFormatter.setUsage("OPTIONS"); helpFormatter.setHeader("A server application that serves the current date and time."); helpFormatter.format(std::cout); }
void displayHelp() { HelpFormatter helpFormatter(options()); helpFormatter.setCommand(commandName()); helpFormatter.setUsage("OPTIONS"); helpFormatter.setHeader("."); helpFormatter.format(std::cout); }
void HALService::displayHelp() { help = true; Poco::Util::HelpFormatter helpFormatter(options()); helpFormatter.setCommand(commandName()); helpFormatter.setUsage("OPTIONS"); helpFormatter.setHeader("HAL.CanModules server."); helpFormatter.format(std::cout); }
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; }
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; }
void displayHelp(void) { Poco::Util::HelpFormatter helpFormatter(this->options()); helpFormatter.setUnixStyle(true); //always unix style --option helpFormatter.setCommand(commandName()); helpFormatter.setUsage("OPTIONS"); helpFormatter.setHeader("\n" "PothosUtil is a helper exectuable for the Pothos Library; " "used both internally by the library, and externally by the user. " "The util provides a command-line interface for the self-tests, " "and can spawn servers and daemons for remote interfaces. "); helpFormatter.format(std::cout); }
int Server::run() { if (config().hasOption("help")) { Poco::Util::HelpFormatter helpFormatter(Server::options()); std::stringstream header; header << commandName() << " [OPTION] [-- [ARG]...]\n"; header << "positional arguments can be used to rewrite config.xml properties, for example, --http_port=8010"; helpFormatter.setHeader(header.str()); helpFormatter.format(std::cout); return 0; } if (config().hasOption("version")) { std::cout << DBMS_NAME << " server version " << VERSION_STRING << VERSION_OFFICIAL << "." << std::endl; return 0; } return Application::run(); }
void displayHelp() { HelpFormatter helpFormatter(options()); helpFormatter.setCommand(commandName()); helpFormatter.setUsage("[<option>] [<bundle>...]"); helpFormatter.setHeader( "\n" "The Applied Informatics OSP Strip Bundle Utility.\n" "Copyright (c) 2018 by Applied Informatics Software Engineering GmbH.\n" "All rights reserved.\n\n" "This program removes all binaries (shared libraries) from a bundle. " "A typical use case is systems using a read-only file system, where " "the code cache is pre-populated with ccutil, and bundles do not " "need to contain any binaries to save space.\n" "The following command line options are supported:" ); helpFormatter.setFooter( "For more information, please see the Open Service Platform " "documentation at <http://docs.appinf.com>." ); helpFormatter.setIndent(8); helpFormatter.format(std::cout); }