https://pantsbuild.org/ logo
#general
Title
# general
j

jolly-midnight-72759

10/02/2020, 1:32 PM
FYI when running
pants --pants-bin-name="v2" --no-v1 --v2 "$@"
I got the somewhat cryptic error
pants.option.errors.ParseError: Multiple cmd line flags specified for option pants_bin_name in global scope
. Once I removed
--pants-bin-name
it worked. I did not actually check what value for
pants-bin-name
is getting set.
Looks like
--v2
sets
bin-name
.
h

hundreds-father-404

10/02/2020, 2:04 PM
I suspect the pants bash script itself is setting it. You can remove that logic if you donโ€™t want it
๐Ÿ‘๐Ÿฝ 1
j

jolly-midnight-72759

10/02/2020, 2:18 PM
And of course with v2.0.0 it is a moot bug. ๐Ÿ™‚
๐Ÿ’ฏ 1