]> git.r.bdr.sh - rbdr/lyricli.rb/blobdiff - bin/lrc
Add dangling files
[rbdr/lyricli.rb] / bin / lrc
diff --git a/bin/lrc b/bin/lrc
index 3f71d87cc35212ea49a870c0f66d041d123b8503..18371ab89487c4f4726d2e8333fcc40fb917d217 100755 (executable)
--- a/bin/lrc
+++ b/bin/lrc
@@ -19,7 +19,7 @@ Options:
     end
 
     opts.on("-l", "--list-sources", "List all available Sources") do
-      puts Lyricli.sources
+      puts Lyricli.listSources()
       exit
     end
 
@@ -35,14 +35,8 @@ Options:
       exit
     end
 
-    opts.on("-h", "--help", "Shows this message") do
-      puts opts
-      exit
-    end
-
-    opts.on("-v", "--version", "Show version") do
-      puts Lyricli.version
-      exit
+    opts.on("-t", "--title", "Shows the song title and artist") do
+      Lyricli.show_title = true
     end
 end.parse!