- nhttpd: remove obsolete function to show commandline help

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2017-09-05 00:10:10 +02:00
committed by Thilo Graf
parent c507f36816
commit d7e34d533d
2 changed files with 0 additions and 15 deletions

View File

@@ -228,20 +228,6 @@ void Cyhttpd::version(FILE *dest) {
fprintf(dest, "%s - Webserver v%s\n", HTTPD_NAME, HTTPD_VERSION);
}
//-----------------------------------------------------------------------------
// Show Usage
//-----------------------------------------------------------------------------
void Cyhttpd::usage(FILE *dest) {
version(dest);
fprintf(dest, "command line parameters:\n");
fprintf(dest, "-d, --debug enable debugging code (implies -f)\n");
fprintf(dest, "-f, --fork do not fork\n");
fprintf(dest, "-h, --help display this text and exit\n\n");
fprintf(dest, "-v, --version display version and exit\n");
fprintf(dest, "-l<loglevel>, set loglevel (0 .. 9)\n");
fprintf(dest, "-t, --thread-off set threading off\n");
}
//-----------------------------------------------------------------------------
// Stop WebServer
//-----------------------------------------------------------------------------

View File

@@ -39,7 +39,6 @@ public:
bool Configure();
void stop_webserver(); // Remove Hooks, Stop Webserver
static void version(FILE *dest);// Show Webserver Version
static void usage(FILE *dest); // Show command line usage
// Hooks
void hooks_attach(); // Add a Hook-Class to HookList
void hooks_detach(); // Remove a Hook-Class from HookList