Closed bartelink closed 6 months ago
This is prompted by me carted along messy code that overrides this for years.
I removed my shims recently, having erroneously assumed it was fixed, so I'm proposing this breaking change, for better or worse!
If anyone is concerned this is too heavy a change, then I can make a new static method to opt-in, as laid out in https://github.com/fsprojects/Argu/issues/171#issuecomment-1951184161
When running via a wrapper such as
dotnet
ordotnet tool run
(see https://github.com/fsprojects/Argu/pull/232 for more of the full scenario), the default logic derives theprogramName
asdotnet
, i.e. the exit error message becomes:Another common case of this is that VS in ~2019 used to run in a wrapper, so the message would be correct if you Ctrl-F5 run, but not if you F5-run; who knows if that has changed...