]> git.r.bdr.sh - rbdr/lyricli.rb/blobdiff - bin/lrc
Adds -t / --title option to show header
[rbdr/lyricli.rb] / bin / lrc
diff --git a/bin/lrc b/bin/lrc
index 3f71d87cc35212ea49a870c0f66d041d123b8503..19e54562f1e0fc0226b553b0ecb9a3be90743afd 100755 (executable)
--- a/bin/lrc
+++ b/bin/lrc
@@ -35,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