File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11[package ]
22name = " batimg"
3- version = " 1.2.1 "
3+ version = " 1.3.0 "
44edition = " 2018"
55
66[dependencies ]
Original file line number Diff line number Diff line change @@ -155,10 +155,10 @@ fn main() {
155155 . long ( "debug" )
156156 . help ( "Print debug stats" )
157157 . takes_value ( false ) )
158- . arg ( Arg :: new ( "audio" )
158+ . arg ( Arg :: new ( "no- audio" )
159159 . short ( 'a' )
160- . long ( "audio" )
161- . help ( "Play video audio" )
160+ . long ( "no- audio" )
161+ . help ( "Disable video audio" )
162162 . takes_value ( false ) )
163163 . arg ( Arg :: new ( "loop" )
164164 . short ( 'l' )
@@ -186,7 +186,7 @@ fn main() {
186186
187187 // Flag variables
188188 let debug: bool = matches. is_present ( "debug" ) ;
189- let play_audio: bool = matches. is_present ( "audio" ) ;
189+ let play_audio: bool = ! matches. is_present ( "no- audio" ) ;
190190 let timesync: bool = matches. is_present ( "timesync" ) ;
191191 let resolution: bool = !matches. is_present ( "resolution" ) ;
192192 let mut loop_video: bool = matches. is_present ( "loop" ) ;
You can’t perform that action at this time.
0 commit comments