]> git.r.bdr.sh - rbdr/lyricli.rb/blobdiff - bin/lrc
Updates the readme.
[rbdr/lyricli.rb] / bin / lrc
diff --git a/bin/lrc b/bin/lrc
index b1a44b625e45d182bdb8e1a020d34178e7775ff3..19e54562f1e0fc0226b553b0ecb9a3be90743afd 100755 (executable)
--- a/bin/lrc
+++ b/bin/lrc
@@ -3,8 +3,6 @@
 require 'optparse'
 require 'lyricli'
 
-
-options = {}
 OptionParser.new do |opts|
     opts.banner = %{Usage:
     lrc [options]
@@ -37,6 +35,10 @@ Options:
       exit
     end
 
+    opts.on("-t", "--title", "Shows the song title and artist") do
+      Lyricli.show_title
+    end
+
     opts.on("-h", "--help", "Shows this message") do
       puts opts
       exit