Enhanced radmeth's command-line option parser.