mirror of
https://github.com/arduino/Arduino.git
synced 2025-02-06 01:08:25 +01:00
Dropping --curdir CLI argument support
This commit is contained in:
parent
85ae80b6f9
commit
b8b1dc2327
@ -963,11 +963,6 @@ public class BaseNoGui {
|
|||||||
preferencesFile = args[i];
|
preferencesFile = args[i];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[i].equals("--curdir")) {
|
|
||||||
i++;
|
|
||||||
currentDirectory = args[i];
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// run static initialization that grabs all the prefs
|
// run static initialization that grabs all the prefs
|
||||||
|
@ -146,11 +146,8 @@ public class CommandlineParser {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[i].equals("--curdir")) {
|
if (args[i].equals("--curdir")) {
|
||||||
i++;
|
BaseNoGui.showError(null, _("--curdir no longer supported"), 3);
|
||||||
if (i >= args.length)
|
return;
|
||||||
BaseNoGui.showError(null, _("Argument required for --curdir"), 3);
|
|
||||||
// Argument should be already processed by Base.main(...)
|
|
||||||
continue;
|
|
||||||
}
|
}
|
||||||
if (args[i].equals("--buildpath")) {
|
if (args[i].equals("--buildpath")) {
|
||||||
i++;
|
i++;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user