hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject [07/13] httpcomponents-core git commit: Better usage help.
Date Wed, 10 May 2017 07:33:54 GMT
Better usage help.

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/branches/4.4.x@1794639
13f79535-47bb-0310-9956-ffa450edef68


Project: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/commit/e21e8d45
Tree: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/tree/e21e8d45
Diff: http://git-wip-us.apache.org/repos/asf/httpcomponents-core/diff/e21e8d45

Branch: refs/heads/4.4.x
Commit: e21e8d45d937225201aeb31c338c40624efc9951
Parents: 8b6a310
Author: Gary D. Gregory <ggregory@apache.org>
Authored: Tue May 9 21:45:10 2017 +0000
Committer: Gary D. Gregory <ggregory@apache.org>
Committed: Tue May 9 21:45:10 2017 +0000

----------------------------------------------------------------------
 .../examples/org/apache/http/examples/nio/NHttpReverseProxy.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/httpcomponents-core/blob/e21e8d45/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
----------------------------------------------------------------------
diff --git a/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
b/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
index 6d9f292..3bd720b 100644
--- a/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
+++ b/httpcore-nio/src/examples/org/apache/http/examples/nio/NHttpReverseProxy.java
@@ -103,7 +103,7 @@ public class NHttpReverseProxy {
 
     public static void main(String[] args) throws Exception {
         if (args.length < 1) {
-            System.out.println("Usage: NHttpReverseProxy <hostname> [port]");
+            System.out.println("Usage: NHttpReverseProxy <hostname[:hostport]> [port]");
             System.exit(1);
         }
         URI uri = new URI(args[0]);


Mime
View raw message