diff --git a/src/nhttpd/yhttpd.cpp b/src/nhttpd/yhttpd.cpp index 643ade86b..15a80bf49 100644 --- a/src/nhttpd/yhttpd.cpp +++ b/src/nhttpd/yhttpd.cpp @@ -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, set loglevel (0 .. 9)\n"); - fprintf(dest, "-t, --thread-off set threading off\n"); -} - //----------------------------------------------------------------------------- // Stop WebServer //----------------------------------------------------------------------------- diff --git a/src/nhttpd/yhttpd.h b/src/nhttpd/yhttpd.h index eff8a9ac8..f0a7478ef 100644 --- a/src/nhttpd/yhttpd.h +++ b/src/nhttpd/yhttpd.h @@ -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