42#include "BESServerUtils.h"
49void BESServerUtils::show_usage(
const string &app_name)
51 cout << app_name <<
": -i <INSTALL_DIR> -c <CONFIG> -d <STREAM,CONTEXT> -h "
52 <<
"-p <PORT> -r <PID_DIR> -s -u <UNIX_SOCKET> -v" << endl << endl;
53 cout <<
"-i back-end server installation directory" << endl;
54 cout <<
"-c use back-end server configuration file CONFIG" << endl;
55 cout <<
"-d send debugging for CONTEXT to cerr or <filename>" << endl;
56 cout <<
"-h show this help screen and exit" << endl;
57 cout <<
"-p set port to PORT" << endl;
58 cout <<
"-r bes.pid file stored in directory PID_DIR" << endl;
59 cout <<
"-s specifies a secure server using SLL authentication" << endl;
60 cout <<
"-u set unix socket to UNIX_SOCKET" << endl;
61 cout <<
"-v echos version and exit" << endl;
67void BESServerUtils::show_version(
const string &app_name)
69 cout << app_name <<
": " << PACKAGE_STRING << endl;
static void Help(std::ostream &strm)
Writes help information for so that developers know what can be set for debugging.