File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " diff2html-cli" ,
3- "version" : " 1.4.0 " ,
3+ "version" : " 1.4.1 " ,
44 "homepage" : " https://www.github.com/rtfpessoa/diff2html-cli" ,
55 "description" : " Fast Diff to colorized HTML" ,
66 "keywords" : [
Original file line number Diff line number Diff line change 1717 var utils = require ( './utils.js' ) . Utils ;
1818
1919 var open = require ( 'open' ) ;
20- var ncp = require ( " copy-paste" ) ;
20+ var ncp = require ( ' copy-paste' ) ;
2121
2222 function Diff2HtmlInterface ( ) {
2323 }
Original file line number Diff line number Diff line change @@ -11,8 +11,9 @@ var cli = require('./cli.js').Diff2HtmlInterface;
1111var log = require ( './logger.js' ) . Logger ;
1212var utils = require ( './utils.js' ) . Utils ;
1313
14- var argv = require ( 'yargs' )
15- . usage ( 'Usage: diff2html [options] -- [diff args]' )
14+ var yargs = require ( 'yargs' ) ;
15+
16+ var argv = yargs . usage ( 'Usage: diff2html [options] -- [diff args]' )
1617 . options ( {
1718 's' : {
1819 alias : 'style' ,
@@ -138,7 +139,7 @@ function onInput(err, input) {
138139
139140 if ( ! input ) {
140141 log . error ( 'The input is empty. Try again.' ) ;
141- argv . help ( ) ;
142+ yargs . showHelp ( 'log' ) ;
142143 }
143144
144145 if ( argv . diffy ) {
You can’t perform that action at this time.
0 commit comments