Handle --dict, and use the helper methods provided by extra::getopts for
checking multiple options.