summaryrefslogtreecommitdiffhomepage
path: root/webserver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'webserver.cpp')
-rw-r--r--webserver.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/webserver.cpp b/webserver.cpp
index 98fedc3..c832ec8 100644
--- a/webserver.cpp
+++ b/webserver.cpp
@@ -11,7 +11,11 @@ using namespace std::string_literals;
void usage()
{
- std::cout << "usage: webserver [-c <configuration-filename>]" << std::endl;
+ std::cout << "usage: webserver [-c <configuration-filename> | -p <password> ] " << std::endl;
+ std::cout << " webserver [-c <configuration-filename>] - start server with specified configuration\n"
+ " file or default /etc/webserver.conf" << std::endl;
+ std::cout << " webserver -p <password> - encrypt password for basic HTTP AUTH,\n"
+ " suitable for config file" << std::endl;
}
void initlocale() {