Executable name transformed in usage output?

I have a build tool plugin in my project that uses ArgumentParser. When I look at its invocation, I'm seeing this:

' /Users/dave/src/val/.build/arm64-apple-macosx/debug/GenerateValFileTests -o /Users/dave/src/val/.build/plugins/outputs/val/EndToEndTests/TestGeneratorPlugin/ValFileTests.swift -n EndToEndTests /Users/dave/src/val/Tests/EndToEndTests/TestCases/Destroy.val /Users/dave/src/val/Tests/EndToEndTests/TestCases/Monomorphize.val /Users/dave/src/val/Tests/EndToEndTests/TestCases/Factorial.val /Users/dave/src/val/Tests/EndToEndTests/TestCases/Pragma.val /Users/dave/src/val/Tests/EndToEndTests/TestCases/Lambda.val /Users/dave/src/val/Tests/EndToEndTests/TestCases/Subscript.val /Users/dave/src/val/Tests/EndToEndTests/TestCases/LocalInout.val /Users/dave/src/val/Tests/EndToEndTests/TestCases/Existential.val
USAGE: generate-val-file-tests [ ...] -o -n

I understand why the usage is incorrect, but where could this name generate-val-file-tests be coming from? That string doesn't exist in my project.

bug, I guess.

1 Like