mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
refactor: changed short parameter fd to d
(cherry picked from commit 2f6b7f3ee4
)
This commit is contained in:
@@ -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'));
|
||||
}
|
||||
|
||||
|
@@ -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")
|
||||
|
Reference in New Issue
Block a user