You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ro...@apache.org on 2015/03/24 21:02:28 UTC

thrift git commit: nodejs: fix typo

Repository: thrift
Updated Branches:
  refs/heads/master 2bb6f51dd -> 47accfc80


nodejs: fix typo


Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/47accfc8
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/47accfc8
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/47accfc8

Branch: refs/heads/master
Commit: 47accfc802d040386c83fcfd1199d60012c47757
Parents: 2bb6f51
Author: Roger Meier <ro...@apache.org>
Authored: Tue Mar 24 21:01:46 2015 +0100
Committer: Roger Meier <ro...@apache.org>
Committed: Tue Mar 24 21:01:46 2015 +0100

----------------------------------------------------------------------
 lib/nodejs/test/client.js | 4 ++--
 lib/nodejs/test/server.js | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/thrift/blob/47accfc8/lib/nodejs/test/client.js
----------------------------------------------------------------------
diff --git a/lib/nodejs/test/client.js b/lib/nodejs/test/client.js
index 6d512b4..91365fc 100644
--- a/lib/nodejs/test/client.js
+++ b/lib/nodejs/test/client.js
@@ -34,8 +34,8 @@ var program = require('commander');
 program
   .option('-p, --protocol <protocol>', 'Set thrift protocol (binary|json) [protocol]')
   .option('-t, --transport <transport>', 'Set thrift transport (buffered|framed) [transport]')
-  .option('--port <port>', 'Set thift server port number to connect', 9090)
-  .option('--host <host>', 'Set thift server host to connect', 'localhost')
+  .option('--port <port>', 'Set thrift server port number to connect', 9090)
+  .option('--host <host>', 'Set thrift server host to connect', 'localhost')
   .option('--ssl', 'use SSL transport')
   .option('--promise', 'test with promise style functions')
   .option('-t, --type <type>', 'Select server type (tcp|multiplex|http)', 'tcp')

http://git-wip-us.apache.org/repos/asf/thrift/blob/47accfc8/lib/nodejs/test/server.js
----------------------------------------------------------------------
diff --git a/lib/nodejs/test/server.js b/lib/nodejs/test/server.js
index b33e91b..6e5cdfa 100644
--- a/lib/nodejs/test/server.js
+++ b/lib/nodejs/test/server.js
@@ -32,10 +32,10 @@ var ThriftTestHandlerPromise = require('./test_handler').SyncThriftTestHandler;
 var ttypes = require('./gen-nodejs/ThriftTest_types');
 
 program
-  .option('-p, --protocol <protocol>', 'Set thift protocol (binary|json|compact)', 'binary')
-  .option('-t, --transport <transport>', 'Set thift transport (buffered|framed)', 'buffered')
+  .option('-p, --protocol <protocol>', 'Set thrift protocol (binary|json|compact)', 'binary')
+  .option('-t, --transport <transport>', 'Set thrift transport (buffered|framed)', 'buffered')
   .option('--ssl', 'use ssl transport')
-  .option('--port <port>', 'Set thift server port', 9090)
+  .option('--port <port>', 'Set thrift server port', 9090)
   .option('--promise', 'test with promise style functions')
   .option('-t, --type <type>', 'Select server type (tcp|multiplex|http)', 'tcp')
   .parse(process.argv);