Deleted Added
sdiff udiff text old ( 4123:9c80390ea1bb ) new ( 4167:ce5d0f62f13b )
full compact
1# Copyright (c) 2005 The Regents of The University of Michigan
2# All rights reserved.
3#
4# Redistribution and use in source and binary forms, with or without
5# modification, are permitted provided that the following conditions are
6# met: redistributions of source code must retain the above copyright
7# notice, this list of conditions and the following disclaimer;
8# redistributions in binary form must reproduce the above copyright

--- 174 unchanged lines hidden (view full) ---

183 del opts.quiet
184
185 options.update(opts)
186 arguments.extend(args)
187 return opts,args
188
189def main():
190 import defines
191 import info
192 import internal
193
194 parse_args()
195
196 done = False
197 if options.copyright:
198 done = True

--- 91 unchanged lines hidden (view full) ---

290 internal.trace.set(flag)
291
292 for flag in off_flags:
293 internal.trace.clear(flag)
294
295 if options.trace_start:
296 def enable_trace():
297 internal.trace.cvar.enabled = True
298 internal.event.create(enable_trace, int(options.trace_start))
299 else:
300 internal.trace.cvar.enabled = True
301
302 internal.trace.output(options.trace_file)
303
304 for ignore in options.trace_ignore:
305 internal.trace.ignore(ignore)
306

--- 35 unchanged lines hidden ---