def setup_args(config_files=[]):
 global args
 arglist = sys.argv[1:]
 for config_file in filter(os.path.isfile, config_files):
  arglist.insert(0, ('@' + config_file))
 args = parser.parse_args(arglist)
 if args.stream:
  args.stream = [stream.lower() for stream in args.stream]

def setup_args ( config_files = [ ] ) : global args arglist = sys . argv [ 1 : ] for config_file in filter ( os . path . isfile , config_files ) : arglist . insert ( 0 , ( '@' + config_file ) ) args = parser . parse_args ( arglist ) if args . stream : args . stream = [ stream . lower ( ) for stream in args . stream ]
adds additional args to allow the vm name or uuid to be set .