optparse is deprecated, but I'll let it slide.