File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -91,6 +91,7 @@ def main():
91
91
# ) | rg -o -r '$3 $2' -- ' ((-[\w-]+),)? (-[\w-]+) <' \
92
92
# | sed 's/ *$//' | tr ' ' '\n' \
93
93
# | sort | uniq \
94
+ # | grep -v -e '-c$' \
94
95
# | sed -E 's/(.*)/"\1",/'
95
96
"--analyzer-output" ,
96
97
"--build-system" ,
@@ -160,7 +161,6 @@ def main():
160
161
"-batch-scan-input-file" ,
161
162
"-blocklist-file" ,
162
163
"-build-id" ,
163
- "-c" ,
164
164
"-cache-replay-prefix-map" ,
165
165
"-cas-path" ,
166
166
"-cas-plugin-option" ,
@@ -340,6 +340,8 @@ def main():
340
340
# Heuristic: options ending in -path expect an argument
341
341
if arg .startswith ("-" ) and arg .endswith ("-path" ):
342
342
is_arg_param = True
343
+ if arg == "-c" and args [0 ] == "swift" :
344
+ is_arg_param = True
343
345
344
346
# Print 2 new lines after each command line
345
347
print ("\n " )
You can’t perform that action at this time.
0 commit comments