1
0
mirror of https://github.com/arduino/Arduino.git synced 2024-11-29 10:24:12 +01:00

Fixed indentation.

Updated revision log.
This commit is contained in:
Cristian Maglie 2013-12-03 17:46:55 +01:00
parent 0029e97b5a
commit 1d8901d9bb
2 changed files with 19 additions and 18 deletions

View File

@ -342,34 +342,30 @@ public class Base {
}
if (args[i].equals("--board")) {
i++;
if (i < args.length)
selectBoard = args[i];
else
showError(null, "Argument required for --board", 3);
if (i >= args.length)
showError(null, "Argument required for --board", 3);
selectBoard = args[i];
continue;
}
if (args[i].equals("--port")) {
i++;
if (i < args.length)
selectPort = args[i];
else
showError(null, "Argument required for --port", 3);
if (i >= args.length)
showError(null, "Argument required for --port", 3);
selectPort = args[i];
continue;
}
if (args[i].equals("--curdir")) {
i++;
if (i < args.length)
currentDirectory = args[i];
else
showError(null, "Argument required for --curdir", 3);
if (i >= args.length)
showError(null, "Argument required for --curdir", 3);
currentDirectory = args[i];
continue;
}
if (args[i].equals("--pref")) {
i++;
if (i < args.length)
processPrefArgument(args[i]);
else
showError(null, "Argument required for --pref", 3);
if (i >= args.length)
showError(null, "Argument required for --pref", 3);
processPrefArgument(args[i]);
continue;
}
if (args[i].startsWith("--"))
@ -379,7 +375,7 @@ public class Base {
}
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) {
// 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
// (don't do earlier, cuz we might move it based on a window being closed)
if (showEditor)
editor.setVisible(true);
editor.setVisible(true);
// System.err.println("exiting handleOpen");

View File

@ -1,4 +1,9 @@
ARDUINO 1.5.6 BETA
[ide]
* Improved command-line parsing (Matthijs Kooijman)
ARDUINO 1.5.5 BETA 2013.11.28
NOTICE: