X-Git-Url: https://git.r.bdr.sh/rbdr/lyricli.rb/blobdiff_plain/d3e32008ba762c8c00bfd99453e794ba68f40464..a1f64790dc2a69580dc73022686e6806b6bf7349:/lib/lyricli/sources/arguments.rb 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