nuke: take config files from -t argument

teuthology-lock and teuthology-updatekeys both use -t for this already
This commit is contained in:
Josh Durgin 2012-01-12 14:48:36 -08:00
parent 96e89d30ec
commit 0da44591a9

View File

@ -12,13 +12,14 @@ def parse_args():
help='be more verbose'
)
parser.add_argument(
'config',
metavar='CONFFILE',
'-t', '--targets',
nargs='+',
type=config_file,
action=MergeConfig,
default={},
help='config file to read',
required=True,
dest='config',
help='yaml config containing machines to nuke',
)
parser.add_argument(
'--archive',