mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Give sense to isCommandLine()
method
This commit is contained in:
parent
b73bc92a5c
commit
fedc2b6cd2
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user