Skip to content

Commit d018064

Browse files
committed
corrected help text
1 parent 60587bd commit d018064

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

core/src/main/java/com/bc/fiduceo/db/DbMaintenanceTool.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void printUsageTo(OutputStream outputStream) {
6868
writer.write(ls + ls);
6969

7070
final HelpFormatter helpFormatter = new HelpFormatter();
71-
helpFormatter.printHelp(writer, 120, "db-maintenance-tool <options>", "Valid options are:", getOptions(), 3, 3, "");
71+
helpFormatter.printHelp(writer, 120, "db_maintenance <options>", "Valid options are:", getOptions(), 3, 3, "");
7272

7373
writer.flush();
7474
}

core/src/test/java/com/bc/fiduceo/db/DbMaintenanceToolIntegrationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void testInvalidCommandLine() throws ParseException {
6464
assertEquals("", out.toString());
6565
assertEquals("db-maintenance-tool version 1.5.6" + ls +
6666
ls +
67-
"usage: db-maintenance-tool <options>" + ls +
67+
"usage: db_maintenance <options>" + ls +
6868
"Valid options are:" + ls +
6969
" -c,--config <arg> Defines the configuration directory. Defaults to './config'." + ls +
7070
" -d,--dryrun Defines 'dryrun' status, i.e. just test the replacement and report problems." + ls +

core/src/test/java/com/bc/fiduceo/db/DbMaintenanceToolTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public void testPrintUsageTo() {
6161

6262
assertEquals("db-maintenance-tool version 1.5.6" + ls +
6363
ls +
64-
"usage: db-maintenance-tool <options>" + ls +
64+
"usage: db_maintenance <options>" + ls +
6565
"Valid options are:" + ls +
6666
" -c,--config <arg> Defines the configuration directory. Defaults to './config'." + ls +
6767
" -d,--dryrun Defines 'dryrun' status, i.e. just test the replacement and report problems." + ls +

0 commit comments

Comments
 (0)