From 811051e3d6e4475c8f2e2a6500e75d14ca8dd7cc Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Mon, 1 Jun 2015 17:28:45 +0000 Subject: [PATCH] Fix types.py to actually be able to run check_padding_command() without erroring out. llvm-svn: 238764 --- lldb/examples/python/types.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/examples/python/types.py b/lldb/examples/python/types.py index adf46e7af57d..60ea7514c13a 100755 --- a/lldb/examples/python/types.py +++ b/lldb/examples/python/types.py @@ -177,7 +177,7 @@ def check_padding_command (debugger, command, result, dict): # (courtesy of OptParse dealing with argument errors by throwing SystemExit) result.SetStatus (lldb.eReturnStatusFailed) return "option parsing failed" # returning a string is the same as returning an error whose description is the string - verify_types(options, debugger.GetSelectedTarget(), command_args) + verify_types(debugger.GetSelectedTarget(), options) @lldb.command("parse_all_struct_class_types") def parse_all_struct_class_types (debugger, command, result, dict):