mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- nhttpd: remove obsolete function to show commandline help
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -228,20 +228,6 @@ void Cyhttpd::version(FILE *dest) {
|
|||||||
fprintf(dest, "%s - Webserver v%s\n", HTTPD_NAME, HTTPD_VERSION);
|
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
|
// Stop WebServer
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
|
@@ -39,7 +39,6 @@ public:
|
|||||||
bool Configure();
|
bool Configure();
|
||||||
void stop_webserver(); // Remove Hooks, Stop Webserver
|
void stop_webserver(); // Remove Hooks, Stop Webserver
|
||||||
static void version(FILE *dest);// Show Webserver Version
|
static void version(FILE *dest);// Show Webserver Version
|
||||||
static void usage(FILE *dest); // Show command line usage
|
|
||||||
// Hooks
|
// Hooks
|
||||||
void hooks_attach(); // Add a Hook-Class to HookList
|
void hooks_attach(); // Add a Hook-Class to HookList
|
||||||
void hooks_detach(); // Remove a Hook-Class from HookList
|
void hooks_detach(); // Remove a Hook-Class from HookList
|
||||||
|
Reference in New Issue
Block a user