Use optparse for command line parsing.