THRIFT-5145 Streamline --pipe and --named-pipe options in the code base
Client: Test suite
Patch: Jens Geyer

This closes #2065
diff --git a/test/README.md b/test/README.md
index d5d1b92..5f6be15 100755
--- a/test/README.md
+++ b/test/README.md
@@ -126,7 +126,7 @@
       -h | --help                  produce help message
       --port=arg (9090)            Port number to listen
       --domain-socket=arg          Unix Domain Socket (e.g. /tmp/ThriftTest.thrift)
-      --named-pipe=arg             Windows Named Pipe (e.g. MyThriftPipe)
+      --pipe=arg                   Windows Named Pipe (e.g. MyThriftPipe)
       --server-type=arg (simple)   type of server, "simple", "thread-pool",
                                    "threaded", or "nonblocking"
       --transport=arg (buffered)   transport: buffered, framed, http, anonpipe, zlib
@@ -149,7 +149,7 @@
       --port=arg (9090)            Port number to connect
       --domain-socket=arg          Domain Socket (e.g. /tmp/ThriftTest.thrift),
                                    instead of host and port
-      --named-pipe=arg             Windows Named Pipe (e.g. MyThriftPipe)
+      --pipe=arg                   Windows Named Pipe (e.g. MyThriftPipe)
       --anon-pipes hRead hWrite    Windows Anonymous Pipes pair (handles)
       --abstract-namespace         Create the domain socket in the Abstract Namespace
                                    (no connection with filesystem pathnames)
diff --git a/test/haxe/src/Arguments.hx b/test/haxe/src/Arguments.hx
index cc10749..56e5253 100644
--- a/test/haxe/src/Arguments.hx
+++ b/test/haxe/src/Arguments.hx
@@ -103,7 +103,7 @@
             +"  --port arg (=9090)          Port number to listen / connect to\n"
             /* not supported yet
             +"  --domain-socket arg         Unix Domain Socket (e.g. /tmp/ThriftTest.thrift)\n"
-            +"  --named-pipe arg            Windows Named Pipe (e.g. MyThriftPipe)\n"
+            +"  --pipe arg                  Windows Named Pipe (e.g. MyThriftPipe)\n"
             */
             +"  --protocol arg (=binary)    protocol: binary, compact, json\n"
             /* not supported yet
@@ -187,8 +187,8 @@
                 //   --domain-socket arg         Unix Domain Socket (e.g. /tmp/ThriftTest.thrift)
                 throw "domain sockets not supported yet";
             }
-            else if (arg == "--named-pipe") {
-                //   --named-pipe arg            Windows Named Pipe (e.g. MyThriftPipe)
+            else if (arg == "--pipe") {
+                //   --pipe arg                  Windows Named Pipe (e.g. MyThriftPipe)
                 throw "named pipes not supported yet";
             }
             else if (arg == "--protocol") {
diff --git a/test/rs/src/bin/test_client.rs b/test/rs/src/bin/test_client.rs
index 8016ca6..5983c7d 100644
--- a/test/rs/src/bin/test_client.rs
+++ b/test/rs/src/bin/test_client.rs
@@ -54,7 +54,7 @@
 fn run() -> thrift::Result<()> {
     // unsupported options:
     // --domain-socket
-    // --named-pipe
+    // --pipe
     // --anon-pipes
     // --ssl
     // --threads
diff --git a/test/rs/src/bin/test_server.rs b/test/rs/src/bin/test_server.rs
index 81c1ec7..d87ef75 100644
--- a/test/rs/src/bin/test_server.rs
+++ b/test/rs/src/bin/test_server.rs
@@ -57,7 +57,7 @@
 
     // unsupported options:
     // --domain-socket
-    // --named-pipe
+    // --pipe
     // --ssl
     let matches = clap_app!(rust_test_client =>
         (version: "1.0")