|
|
|
@ -153,6 +153,9 @@ public class ArgumentBean {
@@ -153,6 +153,9 @@ public class ArgumentBean {
|
|
|
|
|
@Option(name = "-clear-prefs", usage = "Clear application settings") |
|
|
|
|
public boolean clearPrefs = false; |
|
|
|
|
|
|
|
|
|
@Option(name = "-clear-history", usage = "Clear application history") |
|
|
|
|
public boolean clearHistory = false; |
|
|
|
|
|
|
|
|
|
@Option(name = "-version", usage = "Print version identifier") |
|
|
|
|
public boolean version = false; |
|
|
|
|
|
|
|
|
@ -189,6 +192,10 @@ public class ArgumentBean {
@@ -189,6 +192,10 @@ public class ArgumentBean {
|
|
|
|
|
return clearPrefs; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean clearHistory() { |
|
|
|
|
return clearHistory; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public List<File> getFiles(boolean resolveFolders) throws Exception { |
|
|
|
|
if (arguments == null || arguments.isEmpty()) { |
|
|
|
|
return emptyList(); |
|
|
|
|