Skip to content

Commit

Permalink
Added parsing of the maxBlockDuration config from the command line.
Browse files Browse the repository at this point in the history
  • Loading branch information
bramp committed Mar 26, 2016
1 parent 6ba2337 commit 2655953
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bin/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ help = ''
+ '\n -d, --deps dependency paths - files required before code (space separated)'
+ '\n -l, --log logging options, json have to be used'
+ '\n --cov create tests coverage report'
+ '\n --timeout max block duration (in ms)'
+ '\n -h, --help show this help'
+ '\n -v, --version show module version'
+ '\n';
Expand Down Expand Up @@ -84,6 +85,9 @@ for (var key in args) {
case '--paths':
o.paths = args[key];
break;
case '--timeout':
o.maxBlockDuration = args[key];
break;
case '-v':
case '--version':
util.print(
Expand Down

0 comments on commit 2655953

Please sign in to comment.