Lines Matching full:options
9 usage = "usage: %prog [options] job_id"
17 options, args = parser.parse_args()
18 options.show_test_keyvals = options.type in ("all", "test")
19 options.show_attr_keyvals = options.type in ("all", "iteration", "attr")
20 options.show_perf_keyvals = options.type in ("all", "iteration", "perf")
21 options.show_iter_keyvals = (
22 options.show_perf_keyvals or options.show_attr_keyvals)
23 return parser, options, args
26 def print_keyvals(keyval, format_string, options): argument
28 if not options.key or key == options.key:
32 def print_views(test_views, options): argument
34 if not options.machine:
36 if not options.test:
38 if options.show_test_keyvals:
40 print_keyvals(view["attributes"], "\t%s = %s", options)
41 if options.show_iter_keyvals:
45 if options.show_attr_keyvals:
47 options)
48 if options.show_perf_keyvals:
50 options)
55 parser, options, args = parse_options()
61 if options.machine:
62 query_filter["hostname"] = options.machine
63 if options.test:
64 query_filter["test_name"] = options.test
71 print_views(test_views, options)