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 {
174
174
. option ( 'ignore' , {
175
175
alias : 'ig' ,
176
176
describe : 'ignore a file' ,
177
- nargs : 1 ,
177
+ type : 'array' ,
178
178
default : defaults . ignore ,
179
179
} )
180
180
. example (
@@ -185,7 +185,7 @@ export function setup(): Argv {
185
185
. example ( 'diff2html -i file -- my-file-diff.diff' , 'reading the input from a file' )
186
186
. example ( 'diff2html -f json -o stdout -- -M HEAD~1' , 'print json format to stdout' )
187
187
. 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' )
189
189
. help ( )
190
190
. alias ( 'help' , 'h' )
191
191
. alias ( 'help' , '?' )
You can’t perform that action at this time.
0 commit comments