blob: 9e2351dbe26a1da73fb94783e9a0f8dad874d450 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
import internal
import traceflags as flags
from internal.trace import clear, output, set, ignore
def enable():
internal.trace.cvar.enabled = True
def help():
print "Base Flags:"
for flag in trace.flags.basic:
print " %s: %s" % (flag, trace.flags.descriptions[flag])
print
print "Compound Flags:"
for flag in trace.flags.compound:
if flag == 'All':
continue
print " %s: %s" % (flag, trace.flags.descriptions[flag])
print_list(trace.flags.compoundMap[flag], indent=8)
print
|