Skip to content

Commit 6612d9f

Browse files
kshepherdmilanmajchrak
authored andcommitted
Move curation -r reporter param to CLI only
(cherry picked from commit 277af82)
1 parent e7f4604 commit 6612d9f

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

dspace-api/src/main/java/org/dspace/curate/CurationCliScriptConfiguration.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ public Options getOptions() {
2020
options = super.getOptions();
2121
options.addOption("e", "eperson", true, "email address of curating eperson");
2222
options.getOption("e").setRequired(true);
23+
options.addOption("r", "reporter", true,
24+
"relative or absolute path to the desired report file. Use '-' to report to console. If absent, no " +
25+
"reporting");
2326
return options;
2427
}
2528
}

dspace-api/src/main/java/org/dspace/curate/CurationClientOptions.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,6 @@ protected static Options constructOptions() {
5959
"Id (handle) of object to perform task on, or 'all' to perform on whole repository");
6060
options.addOption("p", "parameter", true, "a task parameter 'NAME=VALUE'");
6161
options.addOption("q", "queue", true, "name of task queue to process");
62-
options.addOption("r", "reporter", true,
63-
"relative or absolute path to the desired report file. Use '-' to report to console. If absent, no " +
64-
"reporting");
6562
options.addOption("s", "scope", true,
6663
"transaction scope to impose: use 'object', 'curation', or 'open'. If absent, 'open' applies");
6764
options.addOption("v", "verbose", false, "report activity to stdout");

0 commit comments

Comments
 (0)