Use optparse-applicative.