THRIFT-5924: UUID support for NodeTS
Client: ts,js
Patch: CJCombrink
This closes #3331
diff --git a/lib/nodets/test/server.ts b/lib/nodets/test/server.ts
index 5911384..a2ef5c6 100644
--- a/lib/nodets/test/server.ts
+++ b/lib/nodets/test/server.ts
@@ -5,9 +5,10 @@
program
- .option('--port <port>', 'Set thrift server port', Number.parseInt, 9090)
+ .option('--port <port>', 'Set thrift server port', (v) => parseInt(v, 10), 9090)
.option('--promise', 'test with promise style functions')
- .option('--protocol', '"Set thrift protocol (binary) [protocol]"')
+ .option('--protocol <protocol>', '"Set thrift protocol (binary) [protocol]"')
+ .option('--transport <transport>', '"Set thrift transport (buffered) [transport]"')
.parse(process.argv);
var opts = program.opts();