diff --git a/src/shrpx.cc b/src/shrpx.cc index 22cfe34f..c3f290ec 100644 --- a/src/shrpx.cc +++ b/src/shrpx.cc @@ -367,7 +367,7 @@ void print_usage(std::ostream& out) { out << "Usage: shrpx [-Dh] [-s|--client|-p] [-b ]\n" << " [-f ] [-n ] [-c ] [-L ]\n" - << " [OPTIONS...] \n" + << " [OPTIONS...] [ ]\n" << "\n" << "A reverse proxy for SPDY/HTTPS.\n" << std::endl; @@ -378,7 +378,12 @@ namespace { void print_help(std::ostream& out) { print_usage(out); - out << "\n" + out << "Positional arguments:\n" + << " Set path to server's private key. Required\n" + << " unless either -p or --client is specified.\n" + << " Set path to server's certificate. Required\n" + << " unless either -p or --client is specified.\n" + << "\n" << "OPTIONS:\n" << " -b, --backend=\n" << " Set backend host and port.\n"