Skip to content

Commit fc35658

Browse files
author
Kanhaiya Lal Singh
committed
New binary release
1 parent 30a3d11 commit fc35658

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

lib/tunnel.js

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -544,8 +544,6 @@ function addArguments_(self, fnCallback) {
544544
case 'pidfile':
545545
case 'pac':
546546
case 'controller':
547-
case 'nows':
548-
case 'version':
549547
if (value) {
550548
binaryArgs.push('--' + key);
551549
binaryArgs.push(value);
@@ -719,6 +717,18 @@ function addArguments_(self, fnCallback) {
719717
binaryArgs.push(value);
720718
}
721719
break;
720+
case 'now':
721+
if (value && !options['legacy']) {
722+
binaryArgs.push('--now');
723+
binaryArgs.push(value);
724+
}
725+
break;
726+
case 'version':
727+
if (value && !options['legacy']) {
728+
binaryArgs.push('--version');
729+
binaryArgs.push(value);
730+
}
731+
break;
722732
}
723733
}
724734
if (binaryArgs.indexOf('--controller') === -1) {

0 commit comments

Comments
 (0)