aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/framework-header-fix.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/scripts/framework-header-fix.py')
-rwxr-xr-xlldb/scripts/framework-header-fix.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/scripts/framework-header-fix.py b/lldb/scripts/framework-header-fix.py
index aa034db..36c5c67 100755
--- a/lldb/scripts/framework-header-fix.py
+++ b/lldb/scripts/framework-header-fix.py
@@ -112,7 +112,7 @@ def main():
# but passing them in with dashes for this script causes argparse to think that they're
# arguments in and of themself, so they need to passed in without dashes.
if args.unifdef_guards:
- unifdef_guards = ["-" + guard for guard in args.unifdef_guards]
+ unifdef_guards = ["-U" + guard for guard in args.unifdef_guards]
# Create the framework's header dir if it doesn't already exist
if not os.path.exists(os.path.dirname(output_file_path)):