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():
9191 # ) | rg -o -r '$3 $2' -- ' ((-[\w-]+),)? (-[\w-]+) <' \
9292 # | sed 's/ *$//' | tr ' ' '\n' \
9393 # | sort | uniq \
94+ # | grep -v -e '-c$' \
9495 # | sed -E 's/(.*)/"\1",/'
9596 "--analyzer-output" ,
9697 "--build-system" ,
@@ -160,7 +161,6 @@ def main():
160161 "-batch-scan-input-file" ,
161162 "-blocklist-file" ,
162163 "-build-id" ,
163- "-c" ,
164164 "-cache-replay-prefix-map" ,
165165 "-cas-path" ,
166166 "-cas-plugin-option" ,
@@ -340,6 +340,8 @@ def main():
340340 # Heuristic: options ending in -path expect an argument
341341 if arg .startswith ("-" ) and arg .endswith ("-path" ):
342342 is_arg_param = True
343+ if arg == "-c" and args [0 ] == "swift" :
344+ is_arg_param = True
343345
344346 # Print 2 new lines after each command line
345347 print ("\n " )
You can’t perform that action at this time.
0 commit comments