mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-20 14:54:31 +01:00
Fixed indentation.
Updated revision log.
This commit is contained in:
parent
0029e97b5a
commit
1d8901d9bb
@ -342,34 +342,30 @@ public class Base {
|
|||||||
}
|
}
|
||||||
if (args[i].equals("--board")) {
|
if (args[i].equals("--board")) {
|
||||||
i++;
|
i++;
|
||||||
if (i < args.length)
|
if (i >= args.length)
|
||||||
selectBoard = args[i];
|
showError(null, "Argument required for --board", 3);
|
||||||
else
|
selectBoard = args[i];
|
||||||
showError(null, "Argument required for --board", 3);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[i].equals("--port")) {
|
if (args[i].equals("--port")) {
|
||||||
i++;
|
i++;
|
||||||
if (i < args.length)
|
if (i >= args.length)
|
||||||
selectPort = args[i];
|
showError(null, "Argument required for --port", 3);
|
||||||
else
|
selectPort = args[i];
|
||||||
showError(null, "Argument required for --port", 3);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[i].equals("--curdir")) {
|
if (args[i].equals("--curdir")) {
|
||||||
i++;
|
i++;
|
||||||
if (i < args.length)
|
if (i >= args.length)
|
||||||
currentDirectory = args[i];
|
showError(null, "Argument required for --curdir", 3);
|
||||||
else
|
currentDirectory = args[i];
|
||||||
showError(null, "Argument required for --curdir", 3);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[i].equals("--pref")) {
|
if (args[i].equals("--pref")) {
|
||||||
i++;
|
i++;
|
||||||
if (i < args.length)
|
if (i >= args.length)
|
||||||
processPrefArgument(args[i]);
|
showError(null, "Argument required for --pref", 3);
|
||||||
else
|
processPrefArgument(args[i]);
|
||||||
showError(null, "Argument required for --pref", 3);
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[i].startsWith("--"))
|
if (args[i].startsWith("--"))
|
||||||
@ -379,7 +375,7 @@ public class Base {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ((doUpload || doVerify) && filenames.size() != 1)
|
if ((doUpload || doVerify) && filenames.size() != 1)
|
||||||
showError(null, _("Must specify exactly one sketch file"), 3);
|
showError(null, _("Must specify exactly one sketch file"), 3);
|
||||||
|
|
||||||
for (String path: filenames) {
|
for (String path: filenames) {
|
||||||
// Fix a problem with systems that use a non-ASCII languages. Paths are
|
// Fix a problem with systems that use a non-ASCII languages. Paths are
|
||||||
@ -957,7 +953,7 @@ public class Base {
|
|||||||
// now that we're ready, show the window
|
// now that we're ready, show the window
|
||||||
// (don't do earlier, cuz we might move it based on a window being closed)
|
// (don't do earlier, cuz we might move it based on a window being closed)
|
||||||
if (showEditor)
|
if (showEditor)
|
||||||
editor.setVisible(true);
|
editor.setVisible(true);
|
||||||
|
|
||||||
// System.err.println("exiting handleOpen");
|
// System.err.println("exiting handleOpen");
|
||||||
|
|
||||||
|
@ -1,4 +1,9 @@
|
|||||||
|
|
||||||
|
ARDUINO 1.5.6 BETA
|
||||||
|
|
||||||
|
[ide]
|
||||||
|
* Improved command-line parsing (Matthijs Kooijman)
|
||||||
|
|
||||||
ARDUINO 1.5.5 BETA 2013.11.28
|
ARDUINO 1.5.5 BETA 2013.11.28
|
||||||
|
|
||||||
NOTICE:
|
NOTICE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user