Allow to specifiy black/white list at the same time
Allow to specify both black list and white list file at the same time. Change-Id: Id112c01f6fad0bd568bd9178ee30338b885f1223
This commit is contained in:
parent
ea7fb00122
commit
b39332d760
@ -37,12 +37,11 @@ def get_parser(args):
|
||||
description='Tool to run openstack tests')
|
||||
parser.add_argument('--version', action='version',
|
||||
version='%s' % __version__)
|
||||
list_files = parser.add_mutually_exclusive_group()
|
||||
list_files.add_argument('--blacklist_file', '-b',
|
||||
parser.add_argument('--blacklist_file', '-b',
|
||||
help='Path to a blacklist file, this file '
|
||||
'contains a separate regex exclude on each '
|
||||
'newline')
|
||||
list_files.add_argument('--whitelist_file', '-w',
|
||||
parser.add_argument('--whitelist_file', '-w',
|
||||
help='Path to a whitelist file, this file '
|
||||
'contains a separate regex on each newline.')
|
||||
group = parser.add_mutually_exclusive_group()
|
||||
|
Loading…
Reference in New Issue
Block a user