Use OptionParser's type validation