]> 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 19e54562f1e0fc0226b553b0ecb9a3be90743afd..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
 
@@ -36,17 +36,7 @@ Options:
     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
-    end
-
-    opts.on("-v", "--version", "Show version") do
-      puts Lyricli.version
-      exit
+      Lyricli.show_title = true
     end
 end.parse!