mirror of
https://github.com/esp8266/Arduino.git
synced 2025-12-18 10:22:18 +03:00
Command line --get-pref may be used without name of the target pref.
If pref name is missing, all prefs are printed on stdout. Should fix/mitigate #2982
This commit is contained in:
@@ -58,7 +58,7 @@ public class LegacyTargetBoard implements TargetBoard {
|
||||
String board = containerPlatform.getId() + "_" + id;
|
||||
board = board.toUpperCase();
|
||||
prefs.put("build.board", board);
|
||||
System.out
|
||||
System.err
|
||||
.println(format(_("Board {0}:{1}:{2} doesn''t define a ''build.board'' preference. Auto-set to: {3}"),
|
||||
containerPlatform.getContainerPackage().getId(),
|
||||
containerPlatform.getId(), id, board));
|
||||
|
||||
Reference in New Issue
Block a user