mirror of
https://github.com/arduino/Arduino.git
synced 2025-01-29 18:52:13 +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];
|
||||
continue;
|
||||
}
|
||||
if (args[i].equals("--curdir")) {
|
||||
i++;
|
||||
currentDirectory = args[i];
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
||||
// run static initialization that grabs all the prefs
|
||||
|
@ -146,11 +146,8 @@ public class CommandlineParser {
|
||||
continue;
|
||||
}
|
||||
if (args[i].equals("--curdir")) {
|
||||
i++;
|
||||
if (i >= args.length)
|
||||
BaseNoGui.showError(null, _("Argument required for --curdir"), 3);
|
||||
// Argument should be already processed by Base.main(...)
|
||||
continue;
|
||||
BaseNoGui.showError(null, _("--curdir no longer supported"), 3);
|
||||
return;
|
||||
}
|
||||
if (args[i].equals("--buildpath")) {
|
||||
i++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user