Converted to optparse-applicative.