summaryrefslogtreecommitdiff
path: root/tools/trace/trace.py
diff options
context:
space:
mode:
Diffstat (limited to 'tools/trace/trace.py')
-rw-r--r--tools/trace/trace.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/trace/trace.py b/tools/trace/trace.py
index e6a2c756..9fe3533e 100644
--- a/tools/trace/trace.py
+++ b/tools/trace/trace.py
@@ -28,6 +28,8 @@ parser.add_option("-c", "--callback", dest="cb",
help="The callback file containing the functions" + INTER_MODE)
[options, args] = parser.parse_args()
+if options.type == "inter":
+ assert args
if options.type == 'create':
cre = TCreator (options.infile, options.outfile, options.enum_name)