diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-04-30 16:35:44 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-04-30 16:35:44 +0200 |
commit | 092c3cc12a7092032c77ecfb75b7c6baec1da3cb (patch) | |
tree | 6477e6ad419e24abdb509147ce5eb091f9f3bc7c /webserver.cpp | |
parent | 735d011a6cccf94eebe8bed1a6f539828a7b75e6 (diff) |
Debian packaging
Diffstat (limited to 'webserver.cpp')
-rw-r--r-- | webserver.cpp | 6 |
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() { |