bin/flac2mp3 in flac2mp3-0.2.7 vs bin/flac2mp3 in flac2mp3-0.2.8

- old
+ new

@@ -29,9 +29,11 @@ "Show the #{File.basename($0)} version number and exit") { puts "flac2mp3 #{Flac2mp3::VERSION::STRING}"; exit } opts.on('-d', '--[no-]delete', "Delete the original file after conversion") { |delete| OPTIONS[:delete] = delete } opts.on('-s', '--silent', "Don't show progress") { |silent| OPTIONS[:silent] = silent } + opts.on('-e', '--encoding=ENCODING', String, + "Set lame encoding options", "Default: --preset standard") { |encoding| OPTIONS[:encoding] = encoding } opts.on('-h', '--help', 'Show this help message.') { puts opts; exit } opts.parse!(ARGV) if MANDATORY_OPTIONS && MANDATORY_OPTIONS.find { |option| OPTIONS[option.to_sym].nil? }