arduino-cli icon indicating copy to clipboard operation
arduino-cli copied to clipboard

Flags don't use "--"

Open fatdollar opened this issue 1 year ago • 0 comments

Downloaded this today and I'm very excited about it. Using arduino-cli version 0.32.2

Seems there's a change in how flags are written at the command line and the "--" is not used. During build I get the error "Unknown flag: --board"

if I manually run the arduino-cli.exe it gives the same error but if I omit the "--" it works fine. i.e "arduino-cli.exe boar arduino:avr:mega"

Not sure if this is just a windows thing or if an update changed that but looking at the documentation for arduino cli the examples do not have the "--" either.

I can create a pull request if you want as this is not a big change. Maybe someone can confirm this behavior on other systems as well? I don't have Mac but can get linux to test as well.

Thanks!

fatdollar avatar Apr 13 '23 18:04 fatdollar