X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/d3e32008ba762c8c00bfd99453e794ba68f40464..b434f05e58de158e651fbc83cead322f6a864d36:/lib/lyricli/sources/arguments.rb?ds=sidebyside diff --git a/lib/lyricli/sources/arguments.rb b/lib/lyricli/sources/arguments.rb index 82a8157..e35aaec 100644 --- a/lib/lyricli/sources/arguments.rb +++ b/lib/lyricli/sources/arguments.rb @@ -1,5 +1,7 @@ module Lyricli module Sources + # The arguments source. This one is special since it expects two + # arguments. It is treated specially by the SourceManager. class Arguments class << self @@ -25,7 +27,7 @@ module Lyricli def current_track artist = ARGV[0] song = ARGV[1] - {artist: artist, song: song} + {:artist => artist, :song => song} end # The reset method resets any configurations it may have