if any of the following command line options is given, no graphical interface will be shown and instead a one-off verify (compile) or upload will be done.
It's not very clear if the --board option is one of them but if you try something like:
I created the topic because I want to start the IDE for different sketches. Each sketch is assigned to different Arduino boards (I have sketches for a “mega”, a “due” and also for “uno”). If I use the Windows shell integration (double click on the ino file), I have to configure the boards and serial manually.
I want to have a link where I can start the IDE with my sketch and automatically select the board and serial (without compiling).
I thought, the command line arguments are intended therefore.
Do you know a solution therefor?
I agree that is a nice feature and it is unfortunate if that functionality has been changed. I don't know if it was intentional or not. I would try this with previous versions from https://www.arduino.cc/en/Main/OldSoftwareReleases#previous until you find the last version that it still worked in and then report the issue to Issues · arduino/Arduino · GitHub with a note of the last version where this worked, that will help them to determine what they did to cause the change in behavior.