Skip to content

Commit

Permalink
Fixed the bin script.
Browse files Browse the repository at this point in the history
  • Loading branch information
postmodern committed Jul 14, 2012
1 parent 8461431 commit 1d39025
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/flv-dl
Expand Up @@ -25,7 +25,7 @@ optparser = OptionParser.new do |opts|
options[:player] = player if player
end

opts.on('-f',"--format [#{FLV::Page::FORMATS.keys.join(', ')}]",'The video format') do |format|
opts.on('-f',"--format [#{FLV::Video::FORMATS.keys.join(', ')}]",'The video format') do |format|
options[:format] = format.to_sym
end

Expand All @@ -47,7 +47,7 @@ end

optparser.parse!

video = FLV::Page.new(ARGV[0])
video = FLV::Video.new(ARGV[0])

if options[:list]
case options[:list]
Expand Down

0 comments on commit 1d39025

Please sign in to comment.