refactor: changed short parameter fd to d

(cherry picked from commit 2f6b7f3ee4)
This commit is contained in:
Andrew
2024-06-17 13:57:39 +02:00
committed by Tim Donohue
parent d40a5e2a4b
commit cc76ebee10
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ public class MediaFilterScript extends DSpaceRunnable<MediaFilterScriptConfigura
skipIds = commandLine.getOptionValues('s');
}
if (commandLine.hasOption('f')) {
if (commandLine.hasOption('d')) {
fromDate = LocalDate.parse(commandLine.getOptionValue('f'));
}

View File

@@ -52,7 +52,7 @@ public class MediaFilterScriptConfiguration<T extends MediaFilterScript> extends
.build();
options.addOption(pluginOption);
options.addOption("fd", "fromdate", true, "Process only item from specified last modified date");
options.addOption("d", "fromdate", true, "Process only item from specified last modified date");
Option skipOption = Option.builder("s")
.longOpt("skip")