diff --git a/packages/indexer-agent/src/commands/start-multi-network.ts b/packages/indexer-agent/src/commands/start-multi-network.ts index 8f7d8214b..9c67b6503 100644 --- a/packages/indexer-agent/src/commands/start-multi-network.ts +++ b/packages/indexer-agent/src/commands/start-multi-network.ts @@ -28,7 +28,7 @@ export function parseNetworkSpecifications( argv: any, logger: Logger, ): spec.NetworkSpecification[] { - const dir: string = argv.dir + const dir: string = argv.dir || argv['network-specifications-directory'] const yamlFiles = scanDirectoryForYamlFiles(dir, logger) return parseYamlFiles(yamlFiles) }