Skip to content

Commit 8fd17d4

Browse files
committed
Fixed error message
1 parent 62511c0 commit 8fd17d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ private void processBoardArgument(String selectBoard) {
265265
if (!targetBoard.hasMenu(key))
266266
BaseNoGui.showError(null, I18n.format(tr("{0}: Invalid option for board \"{1}\""), key, targetBoard.getId()), 3);
267267
if (targetBoard.getMenuLabel(key, value) == null)
268-
BaseNoGui.showError(null, I18n.format(tr("{0}: Invalid option for \"{1}\" option for board \"{2}\""), value, key, targetBoard.getId()), 3);
268+
BaseNoGui.showError(null, I18n.format(tr("{0}: Invalid value for option \"{1}\" for board \"{2}\""), value, key, targetBoard.getId()), 3);
269269

270270
PreferencesData.set("custom_" + key, targetBoard.getId() + "_" + value);
271271
}

0 commit comments

Comments
 (0)