shrpx: Add usage for <PRIVATE_KEY> <CERT>
This commit is contained in:
parent
9aa7af2c7f
commit
4349d42988
|
@ -367,7 +367,7 @@ void print_usage(std::ostream& out)
|
||||||
{
|
{
|
||||||
out << "Usage: shrpx [-Dh] [-s|--client|-p] [-b <HOST,PORT>]\n"
|
out << "Usage: shrpx [-Dh] [-s|--client|-p] [-b <HOST,PORT>]\n"
|
||||||
<< " [-f <HOST,PORT>] [-n <CORES>] [-c <NUM>] [-L <LEVEL>]\n"
|
<< " [-f <HOST,PORT>] [-n <CORES>] [-c <NUM>] [-L <LEVEL>]\n"
|
||||||
<< " [OPTIONS...] <PRIVATE_KEY> <CERT>\n"
|
<< " [OPTIONS...] [<PRIVATE_KEY> <CERT>]\n"
|
||||||
<< "\n"
|
<< "\n"
|
||||||
<< "A reverse proxy for SPDY/HTTPS.\n"
|
<< "A reverse proxy for SPDY/HTTPS.\n"
|
||||||
<< std::endl;
|
<< std::endl;
|
||||||
|
@ -378,7 +378,12 @@ namespace {
|
||||||
void print_help(std::ostream& out)
|
void print_help(std::ostream& out)
|
||||||
{
|
{
|
||||||
print_usage(out);
|
print_usage(out);
|
||||||
out << "\n"
|
out << "Positional arguments:\n"
|
||||||
|
<< " <PRIVATE_KEY> Set path to server's private key. Required\n"
|
||||||
|
<< " unless either -p or --client is specified.\n"
|
||||||
|
<< " <CERT> Set path to server's certificate. Required\n"
|
||||||
|
<< " unless either -p or --client is specified.\n"
|
||||||
|
<< "\n"
|
||||||
<< "OPTIONS:\n"
|
<< "OPTIONS:\n"
|
||||||
<< " -b, --backend=<HOST,PORT>\n"
|
<< " -b, --backend=<HOST,PORT>\n"
|
||||||
<< " Set backend host and port.\n"
|
<< " Set backend host and port.\n"
|
||||||
|
|
Loading…
Reference in New Issue