check for duplicate options, except --verbosity and --mode