Why does getopts delete the option arguments but not the options
themselves from ARGV:
$ cat opt.rb
opts = Long.getopts(
$ ruby opt.rb --plot --foo 8
Wouldn’t it be better for #getopts to delete all members of ARGV that it
recognizes? Then you can use ARGF for the remaining file names.