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 event
192 import info
193 import internal
194
195 parse_args()
196
197 done = False
198 if options.copyright:
199 done = True

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

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

--- 35 unchanged lines hidden ---