From 0da44591a9151cab2365c2e17d32a9cd278184ab Mon Sep 17 00:00:00 2001 From: Josh Durgin Date: Thu, 12 Jan 2012 14:48:36 -0800 Subject: [PATCH] nuke: take config files from -t argument teuthology-lock and teuthology-updatekeys both use -t for this already --- teuthology/nuke.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/teuthology/nuke.py b/teuthology/nuke.py index 4bc11698c1f81..48bd4fedb556c 100644 --- a/teuthology/nuke.py +++ b/teuthology/nuke.py @@ -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', -- 2.39.5