An infinite number of monkeys in the guise of ts wrote:

:=>>>>> "D" == Dylan Northrup <docx / io.com> writes:
:=
:=D> opts.each do |opt, arg|
:=D> #   puts "Option: #{opt}, arg #{arg.inspect}"
:=D>     case opt
:=D>         when "-t" then title     = #{arg.inspect}
:=                                      ^^^^^^^^^^^^^^
:=
:= This is valid only in a string, otherwise this is just a comment

DOH!  Thanks for pointing out my newbie mistake.

:=D>         when "-n" then nation    = #{arg.inspect}
:=D>         when "-s" then submitter = #{arg.inspect}
:=D>         else puts "You shouldn't be here with #{opt} and #{arg.inspect}
:=                      ^^^^^^^^
:=
:= missing " at the end of the line

I'll be.  That would have caused me a bit of trouble, wouldn't it.  Thanks
for catching my typo.

:=D>     end
:=D> end

[proper code snipped]

Thanks.  Working like a champ.

-- 
Dylan Northrup <*> docx / io.com <*> http://www.io.com/~docx/
"Easy to bitch, easy to whine, easy to moan, easy to cry, easy to feel like
 there ain't nothing in your life. Harder to work, harder to strive, hard to
 be glad to be alive, but it's really worth it if you give it a try." 
 -- Cowboy Mouth, 'Easy'