File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -174,7 +174,7 @@ export function setup(): Argv {
174174 . option ( 'ignore' , {
175175 alias : 'ig' ,
176176 describe : 'ignore a file' ,
177- nargs : 1 ,
177+ type : 'array' ,
178178 default : defaults . ignore ,
179179 } )
180180 . example (
@@ -185,7 +185,7 @@ export function setup(): Argv {
185185 . example ( 'diff2html -i file -- my-file-diff.diff' , 'reading the input from a file' )
186186 . example ( 'diff2html -f json -o stdout -- -M HEAD~1' , 'print json format to stdout' )
187187 . example ( 'diff2html -F my-pretty-diff.html -- -M HEAD~1' , 'print to file' )
188- . example ( 'diff2html --ig package-lock.json --ig yarn.lock' , 'ignore two particular files when generating the diff' )
188+ . example ( 'diff2html --ig package-lock.json yarn.lock' , 'ignore two particular files when generating the diff' )
189189 . help ( )
190190 . alias ( 'help' , 'h' )
191191 . alias ( 'help' , '?' )
You can’t perform that action at this time.
0 commit comments