Pass options and args to tasks

When both @cmdopts and @consume_nargs are used, the options *before* the
args are parsed by the tasks's parser and given to it.