File tree 2 files changed +6
-6
lines changed
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -68,7 +68,7 @@ yargs(hideBin(process.argv))
68
68
argv . inputImage ,
69
69
argv . badgeImage ,
70
70
argv . outputImage ,
71
- getCompositeOperator ( argv . compositeOperator ) ,
71
+ getCompositeOperator ( argv . compositeType ) ,
72
72
parseInt ( `${ argv . opacityThreshold } ` , 10 ) ,
73
73
Boolean ( argv . dryRun )
74
74
)
@@ -80,10 +80,10 @@ yargs(hideBin(process.argv))
80
80
}
81
81
)
82
82
. version ( '1.0' )
83
- . option ( 'composite-operator ' , {
83
+ . option ( 'composite-type ' , {
84
84
alias : 'c' ,
85
85
type : 'string' ,
86
- description : 'Change the composite operator , recommended: Atop or Over' ,
86
+ description : 'Change the composite type , recommended: Atop or Over' ,
87
87
default : CompositeOperator [ CompositeOperator . Atop ] ,
88
88
} )
89
89
. option ( 'opacity-threshold' , {
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ yargs(hideBin(process.argv))
66
66
execute (
67
67
argv . inputGlob ,
68
68
argv . badgeImage ,
69
- getCompositeOperator ( argv . compositeOperator ) ,
69
+ getCompositeOperator ( argv . compositeType ) ,
70
70
parseInt ( `${ argv . opacityThreshold } ` , 10 ) ,
71
71
Boolean ( argv . dryRun )
72
72
)
@@ -78,10 +78,10 @@ yargs(hideBin(process.argv))
78
78
}
79
79
)
80
80
. version ( '1.0' )
81
- . option ( 'composite-operator ' , {
81
+ . option ( 'composite-type ' , {
82
82
alias : 'c' ,
83
83
type : 'string' ,
84
- description : 'Change the composite operator , recommended: Atop or Over' ,
84
+ description : 'Change the composite type , recommended: Atop or Over' ,
85
85
default : CompositeOperator [ CompositeOperator . Atop ] ,
86
86
} )
87
87
. option ( 'opacity-threshold' , {
You can’t perform that action at this time.
0 commit comments