Skip to content

Commit

Permalink
refactor: changed short parameter fd to d
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewAlesik committed Jun 17, 2024
1 parent a9e120f commit 2f6b7f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void setup() throws ParseException {
skipIds = commandLine.getOptionValues('s');
}

if (commandLine.hasOption('f')) {
if (commandLine.hasOption('d')) {
fromDate = LocalDate.parse(commandLine.getOptionValue('f'));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public Options getOptions() {
.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")
Expand Down

0 comments on commit 2f6b7f3

Please sign in to comment.