Lines Matching refs:options
27 """Make an options parser."""
28 usage = "%prog [options] /path/to/tmp/buildstats/<recipe-machine>/<BUILDNAME>/"
71 def __init__(self, write, options):
73 self.options = options
79 if not self.options.quiet:
83 if self.options.verbose:
87 if not self.options.quiet:
90 def _mk_writer(options):
93 return Writer(write, options)
112 options, args = parser.parse_args(argv)
114 # Default values for disabled options
115 options.prune = True
116 options.boottime = False
117 options.profile = False
118 options.show_pid = False
119 options.crop_after = None
120 options.annotate = None
121 options.annotate_file = None
123 writer = _mk_writer(options)
129 res = parsing.Trace(writer, args, options)
131 if options.interactive or options.output == None:
133 gui.show(res, options)
134 elif options.boottime:
144 if options.annotate_file:
145 f = open (options.annotate_file, "w")
153 filename = _get_filename(options.output)
154 res_list = parsing.split_res(res, options)
160 f = filename + "." + options.format
162 f = filename + s % n + options.format
165 batch.render(writer, r, options, f)
166 if options.profile: