Clean up the "all" support for -u.
This commit is contained in:
parent
f9ddec41ce
commit
04a8da5cdb
|
@ -132,7 +132,8 @@ def main(tests=None, testdir=None, verbose=0, quiet=0, generate=0,
|
|||
break
|
||||
if r not in RESOURCE_NAMES:
|
||||
usage(1, 'Invalid -u/--use option: ' + a)
|
||||
use_resources.extend(u)
|
||||
if r not in use_resources:
|
||||
use_resources.extend(r)
|
||||
if generate and verbose:
|
||||
usage(2, "-g and -v don't go together!")
|
||||
|
||||
|
|
Loading…
Reference in New Issue