THRIFT-2350 Add async calls to normal JavaScript
Patch: Randy Abernethy
diff --git a/lib/nodejs/test/client.js b/lib/nodejs/test/client.js
index e7d6e61..90d7467 100644
--- a/lib/nodejs/test/client.js
+++ b/lib/nodejs/test/client.js
@@ -17,10 +17,9 @@
* under the License.
*/
-//Client test for the following I/O stack:
-// TBinaryProtocol
-// TFramedTransport
-// TSocket
+//This is the client side test for the standard Apache Thrift
+//"ThriftTest" suite. This client will test any protocol/transport
+//combination specified on the command line.
var assert = require('assert');
var thrift = require('thrift');
@@ -32,8 +31,8 @@
var program = require('commander');
program
- .option('-p, --protocol <protocol>', 'Set thift protocol (binary|json) [protocol]')
- .option('-t, --transport <transport>', 'Set thift transport (buffered|framed) [transport]')
+ .option('-p, --protocol <protocol>', 'Set thrift protocol (binary|json) [protocol]')
+ .option('-t, --transport <transport>', 'Set thrift transport (buffered|framed) [transport]')
.parse(process.argv);
var protocol = undefined;