We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 584c2de commit 8693240Copy full SHA for 8693240
src/main/java/io/openmessaging/storage/dledger/DLedger.java
@@ -34,7 +34,7 @@ public class DLedger {
34
35
public static void main(String[] args) {
36
List<DLedgerConfig> dLedgerConfigs = new LinkedList<>();
37
- if ("--config".equals(args[0]) || "-c".equals(args[0])) {
+ if (args.length > 0 && ("--config".equals(args[0]) || "-c".equals(args[0]))) {
38
ConfigCommand configCommand = new ConfigCommand();
39
JCommander.newBuilder().addObject(configCommand).build().parse(args);
40
try {
0 commit comments