Test fix for #10322
Pre-releaseFix NREL#10322 - Bump CLI11 from 2.3.2 to 2.4.2
Turns out the issue is that I rely on CLI11's (circa 2.3.2) interpretation of argc/argv, which for linux reads /proc/self/cmdline
separated by null terminators.
When you run under rosetta, you end up with a duplicated program path, looks like rosetta is trying to remove itself from the command line but duplicating it. So wheen you call energyplus --help
what cmdline has is energyplus energyplus --help
.
This bumps to CLI11 to 2.4.2, and moves back to using the actual main argc/argv instead of relying on the static_args
that reads /proc/self/cmdline
Note: I suppose I could also have achieved the same thing without bumping to 2.4.2, but might as well do it since there were numeros unicode related fixes as well