tap-parser
Advanced tools
Comparing version 0.6.2 to 0.7.0
@@ -8,3 +8,6 @@ #!/usr/bin/env node | ||
var argv = minimist(process.argv.slice(2), { | ||
alias: { h: 'help', o: 'outfile', i: 'infile', r: 'results' }, | ||
alias: { | ||
h: 'help', v: 'version', | ||
o: 'outfile', i: 'infile', r: 'results' | ||
}, | ||
default: { outfile: '-', infile: '-' }, | ||
@@ -18,2 +21,6 @@ boolean: [ 'results' ] | ||
} | ||
if (argv.version) { | ||
console.log(require('../package.json').version); | ||
return; | ||
} | ||
@@ -20,0 +27,0 @@ var input = argv.infile === '-' |
@@ -12,3 +12,5 @@ usage: tap-parser OPTIONS | ||
through to OUTPUT. | ||
-h, --help Show this help message. | ||
-v, --version Print the current version of tap-parser. | ||
{ | ||
"name": "tap-parser", | ||
"version": "0.6.2", | ||
"version": "0.7.0", | ||
"description": "parse the test anything protocol", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
35267
1061
166