Skip to content

Commit

Permalink
closes #5
Browse files Browse the repository at this point in the history
  • Loading branch information
tewarid committed Aug 8, 2018
1 parent e0523cd commit 2b50be5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "node-tcp-proxy",
"description": "A simple TCP proxy built using Node.js",
"license": "MIT",
"version": "0.0.9",
"version": "0.0.10",
"main": "index.js",
"repository": {
"type": "git",
Expand Down
5 changes: 3 additions & 2 deletions tcp-proxy-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ argv
.option("-s, --servicePort <number>", "Service port number", parseInt)
.option("-q, --q", "Be quiet")
.option("-t, --tls [both]", "Use TLS", false)
.option("-c, --pfx [file]", "Private key file", "cert.pfx")
.option("-p, --passphrase [value]",
.option("-c, --pfx [file]", "Private key file",
require.resolve("./cert.pfx"))
.option("-a, --passphrase [value]",
"Passphrase to access private key file", "abcd")
.parse(process.argv);

Expand Down

0 comments on commit 2b50be5

Please sign in to comment.