Use optparse for CLI option parsing