aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Uzunov <andrey.uzunov@gmail.com>2013-12-28 20:45:25 +0000
committerAndrey Uzunov <andrey.uzunov@gmail.com>2013-12-28 20:45:25 +0000
commitcb11cac74d2a5dca1039dd2ab70d42e8fe1d501b (patch)
tree192c5339035c035fa256e86e1c77a2f6270ec1e4
parentc81afd7682d237044b5869791c72824877546d60 (diff)
downloadlibmicrohttpd-cb11cac74d2a5dca1039dd2ab70d42e8fe1d501b.tar.gz
libmicrohttpd-cb11cac74d2a5dca1039dd2ab70d42e8fe1d501b.zip
mhd2spdy: usage info
-rw-r--r--src/examples/mhd2spdy.c19
1 files changed, 17 insertions, 2 deletions
diff --git a/src/examples/mhd2spdy.c b/src/examples/mhd2spdy.c
index 3d5c2e17..915ec603 100644
--- a/src/examples/mhd2spdy.c
+++ b/src/examples/mhd2spdy.c
@@ -230,8 +230,23 @@ void
230display_usage() 230display_usage()
231{ 231{
232 printf( 232 printf(
233 "Usage: mhd2spdy [-vos] [-b <SPDY2HTTP-PROXY>] -p <PORT>\n" 233 "Usage: mhd2spdy [-ovs] [-b <SPDY2HTTP-PROXY>] -p <PORT>\n\n"
234 "TODO\n" 234 "OPTIONS:\n"
235 " -p, --port Listening port.\n"
236 " -b, --backend-proxy If set, he proxy will send requests to\n"
237 " that SPDY server or proxy. Set the address\n"
238 " in the form 'http://host:port'. Use 'https'\n"
239 " for SPDY over TLS, or 'http' for plain SPDY\n"
240 " communication with the backend.\n"
241 " -o, --only-proxy If set, the proxy will always forward the\n"
242 " requests to the backend proxy. If not set,\n"
243 " the proxy will first try to establsh SPDY\n"
244 " connection to the requested server. If the\n"
245 " server does not support SPDY and TLS, the\n"
246 " backend proxy will be used for the request.\n"
247 " -v, --verbose Print debug information.\n"
248 " -s, --statistics Print simple statistics on exit.\n\n"
249
235 ); 250 );
236} 251}
237 252