mcs compiler options are not compatible with Fish shell option parser
Current Behavior
There are too many mcs options use : instead of = as option argument delimiter:
- --addmodule:MODULE1[,MODULE2]
- -codepage:ID
- -define:SYMLIST, -d:SYMLIST
- -doc:FILE
- -keyfile:KEYFILE
- ...
It prevents Fish option parser to correctly complete options.
Expected Behavior
= used as an option argument delimiter but only when some environment variable specified (not to break backward compatibility). For instance when I define FISH_COMPATIBLE variable mcs prefer = instead of :.
On which platforms did you notice this
- [ ] macOS
- [x] Linux
- [ ] Windows
Notes
Version Used
Mono version: 6.8.0.105 OS version: Linux Mint 20.2 Cinnamon
The same issue applies to: ilasm, monop, xsd, wsdl, disco, soapsuds.
As an alternative, the default could be changed to = with : retained for backwards compatibility (similar to tar / cpio compact options)
Are there any updates to this issue? 🌝