gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r31764 - libmicrohttpd/src/examples


From: gnunet
Subject: [GNUnet-SVN] r31764 - libmicrohttpd/src/examples
Date: Sat, 28 Dec 2013 21:45:26 +0100

Author: andreyu
Date: 2013-12-28 21:45:25 +0100 (Sat, 28 Dec 2013)
New Revision: 31764

Modified:
   libmicrohttpd/src/examples/mhd2spdy.c
Log:
mhd2spdy: usage info

Modified: libmicrohttpd/src/examples/mhd2spdy.c
===================================================================
--- libmicrohttpd/src/examples/mhd2spdy.c       2013-12-28 19:22:37 UTC (rev 
31763)
+++ libmicrohttpd/src/examples/mhd2spdy.c       2013-12-28 20:45:25 UTC (rev 
31764)
@@ -230,8 +230,23 @@
 display_usage()
 {
   printf(
-    "Usage: mhd2spdy [-vos] [-b <SPDY2HTTP-PROXY>] -p <PORT>\n"
-    "TODO\n"
+    "Usage: mhd2spdy [-ovs] [-b <SPDY2HTTP-PROXY>] -p <PORT>\n\n"
+    "OPTIONS:\n"
+    "    -p, --port            Listening port.\n"
+    "    -b, --backend-proxy   If set, he proxy will send requests to\n"
+    "                          that SPDY server or proxy. Set the address\n"
+    "                          in the form 'http://host:port'. Use 'https'\n"
+    "                          for SPDY over TLS, or 'http' for plain SPDY\n"
+    "                          communication with the backend.\n"
+    "    -o, --only-proxy      If set, the proxy will always forward the\n"
+    "                          requests to the backend proxy. If not set,\n"
+    "                          the proxy will first try to establsh SPDY\n"
+    "                          connection to the requested server. If the\n"
+    "                          server does not support SPDY and TLS, the\n"
+    "                          backend proxy will be used for the request.\n"
+    "    -v, --verbose         Print debug information.\n"
+    "    -s, --statistics      Print simple statistics on exit.\n\n"
+
   );
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]