How do you deal with command line args in a rubygem?

I'm using optparse for `-u` style args, but I don't get `-e foo` or `-e=foo` style.