bin/MikePlayer.rb in mikeplayer-1.0.3 vs bin/MikePlayer.rb in mikeplayer-1.0.4
- old
+ new
@@ -19,8 +19,9 @@
opt.on('-v', '--volume n', 'Changes default volume.') { |o| options[:volume] = o }
opt.on('-p', '--playlist name', 'Play playlist name.') { |o| options[:playlist] = o }
opt.on('-l', '--list', 'List songs in playlist.') { |o| options[:list] = true; }
opt.on('-d', '--directory name', 'Directory to find mp3s.') { |o| options[:directory] = o }
opt.on('-t', '--time minutes', 'Limit time to number of minutes.') { |o| options[:minutes] = o }
+ opt.on('-x', '--debug', 'Turn on debug.') { |o| options[:debug] = true }
end.parse!
MikePlayer::Player.new(options, ARGV).play