Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ public int runCmd(CommandLine cmdLine) throws Exception {
System.err.println("Must specify a ledger id");
return -1;
}
if (cmdLine.hasOption("dumptofile") && cmdLine.hasOption("restorefromefile")) {
if (cmdLine.hasOption("dumptofile") && cmdLine.hasOption("restorefromfile")) {
System.err.println("Only one of --dumptofile and --restorefromfile can be specified");
return -2;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public static class LedgerMetadataFlag extends CliFlags {
@Parameter(names = { "-d", "--dumptofile" }, description = "Dump metadata for ledger, to a file")
private String dumpToFile = DEFAULT;

@Parameter(names = { "-r", "--restorefromefile" }, description = "Restore metadata for ledger, from a file")
@Parameter(names = { "-r", "--restorefromfile" }, description = "Restore metadata for ledger, from a file")
private String restoreFromFile = DEFAULT;

@Parameter(names = {"-lf", "--ledgeridformatter"}, description = "Set ledger id formatter")
Expand Down