main.py (4123:9c80390ea1bb) main.py (4167:ce5d0f62f13b)
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
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
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
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
298 internal.event.create(enable_trace, int(options.trace_start))
299 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 ---
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 ---