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

Give sense to isCommandLine() method

This commit is contained in:
Cristian Maglie 2016-11-07 16:48:48 +01:00
parent b73bc92a5c
commit fedc2b6cd2

View File

@ -161,12 +161,6 @@ public class Base {
}
static protected void setCommandLine() {
commandLine = true;
}
static protected boolean isCommandLine() {
return commandLine;
}
@ -199,6 +193,7 @@ public class Base {
CommandlineParser parser = new CommandlineParser(args);
parser.parseArgumentsPhase1();
commandLine = !parser.isGuiMode();
SplashScreenHelper splash;
if (parser.isGuiMode()) {