Skip to content

Commit f84b58e

Browse files
committed
Merge pull request #3759 from sandeepmistry/no-gui-board-select-change
Call on onBoardOrPortChange after selectBoard when board argument passed into command line
2 parents 92a05d2 + 7fa355a commit f84b58e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arduino-core/src/processing/app/helpers/CommandlineParser.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,7 @@ private void processBoardArgument(String selectBoard) {
249249
}
250250

251251
BaseNoGui.selectBoard(targetBoard);
252+
BaseNoGui.onBoardOrPortChange();
252253

253254
if (split.length > 3) {
254255
String[] options = split[3].split(",");

0 commit comments

Comments
 (0)