blob: 22241d202d759e086c65e3ce78c9b3a4b323019e [file] [log] [blame]
# Copyright 2015 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Wrapper for inframon's command-line flag based configuration."""
from __future__ import print_function
import argparse
from infra_libs.ts_mon import config
def setup_ts_mon_global_state():
"""Uses a dummy argument parser to get the default behavior from ts-mon."""
parser = argparse.ArgumentParser()
config.add_argparse_options(parser)
config.process_argparse_options(parser.parse_args(args=[]))