This is useful because the actual help output shown is:
--inject-argument <INJECT_ARGUMENTS>
Inject the given argument into the clang argument list when generating bitcode
but when the user attempts to use it in that fashion, build-bom tries to interpret the injected argument itself, or if quotes are used, the quotes are persisted, escaped to the clang invocation, which is invalid. Using the = instead of the space is the way to avoid these problems, but the default help output from the clap library does not display that format.
This is useful because the actual help output shown is:
but when the user attempts to use it in that fashion, build-bom tries to interpret the injected argument itself, or if quotes are used, the quotes are persisted, escaped to the clang invocation, which is invalid. Using the
=
instead of the space is the way to avoid these problems, but the default help output from theclap
library does not display that format.