Skip to content
This repository was archived by the owner on Feb 27, 2023. It is now read-only.

Commit b8f2c95

Browse files
author
Scott Stafford
committed
#228 - default job repo name is mlJobRepo
1 parent 038e602 commit b8f2c95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlJobRepo/src/main/java/com/marklogic/spring/batch/DeployMarkLogicJobRepository.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ protected MarkLogicSimpleJobRepositoryAppDeployer buildAppDeployer(OptionSet opt
6161
protected OptionParser buildOptionParser() {
6262
OptionParser parser = new OptionParser();
6363
parser.acceptsAll(Arrays.asList("h", HELP), "Show help").forHelp();
64-
parser.accepts(NAME, "Name of the MarkLogic Job Repository").withRequiredArg();
64+
parser.accepts(NAME, "Name of the MarkLogic Job Repository").withRequiredArg().defaultsTo("mlJobRepo");
6565
parser.accepts(HOST, "Hostname of the destination MarkLogic Server").withRequiredArg().defaultsTo("localhost");
6666
parser.accepts(PORT, "Port number of the destination MarkLogic Server. The App Server must not be SSL-enabled.").withRequiredArg().ofType(Integer.class).defaultsTo(8015);
6767
parser.accepts(USERNAME, "The MarkLogic user to authenticate as against the given host and port").withRequiredArg().defaultsTo("admin");

0 commit comments

Comments
 (0)