srtshifter 1.0.1 → 1.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/srtshifter/options.rb +1 -1
- data/lib/srtshifter/version.rb +1 -1
- metadata +1 -1
data/lib/srtshifter/options.rb
CHANGED
@@ -15,7 +15,7 @@ module SrtShifter
|
|
15
15
|
opts.separator "Common Options:"
|
16
16
|
|
17
17
|
opts.on("-o","--operation (ADD|SUB)", String, "Type ADD to increase time or SUB to decrease time.") do |o|
|
18
|
-
options[:operation] = o.upcase
|
18
|
+
options[:operation] = o.upcase if operations.include? o.upcase
|
19
19
|
end
|
20
20
|
|
21
21
|
opts.on("-t","--time (VALUE)", Float, "Time in milliseconds.") do |n|
|
data/lib/srtshifter/version.rb
CHANGED