Skip to content

Commit f0910ed

Browse files
committed
Fix version flag
1 parent 950baf3 commit f0910ed

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,6 @@ var argv = yargs.usage('Usage: diff2html [options] -- [diff args]')
135135
.example('diff2html -i file -- my-file-diff.diff', 'reading the input from a file')
136136
.example('diff2html -f json -o stdout -- -M HEAD~1', 'print json format to stdout')
137137
.example('diff2html -F my-pretty-diff.html -- -M HEAD~1', 'print to file')
138-
.version(function() {
139-
return require('../package').version;
140-
})
141138
.help('h')
142139
.alias('h', 'help')
143140
.epilog('© 2014-' + currentYear + ' rtfpessoa\n' +

0 commit comments

Comments
 (0)