We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8ed4c2 commit 3448c39Copy full SHA for 3448c39
src/main/java/org/jabref/cli/CliOptions.java
@@ -2,6 +2,7 @@
2
3
import java.util.List;
4
import java.util.Objects;
5
+import java.util.Optional;
6
7
import javafx.util.Pair;
8
@@ -191,12 +192,8 @@ public boolean isJumpToKey() {
191
192
return commandLine.hasOption("jumpToKey");
193
}
194
- public boolean isValidateJournals() {
195
- return commandLine.hasOption("validate-journals");
196
- }
197
-
198
- public String getValidateJournals() {
199
- return commandLine.getOptionValue("validate-journals");
+ public Optional<String> getValidateJournals() {
+ return Optional.ofNullable(commandLine.getOptionValue("validate-journals"));
200
201
202
private static Options getOptions() {
0 commit comments