Only the first argument can be --test-target-dir option
Raise the proper exception when that option is not given but non-option argument is.
Only the first argument can be --test-target-dir option
Raise the proper exception when that option is not given but
non-option argument is.