diff --git a/src/cli/commands/daemon.js b/src/cli/commands/daemon.js index 2aeff2532b..6c6e4d9d30 100644 --- a/src/cli/commands/daemon.js +++ b/src/cli/commands/daemon.js @@ -22,6 +22,10 @@ module.exports = { type: 'boolean', default: false }) + .option('enable-dht-experiment', { + type: 'boolean', + default: false + }) }, handler (argv) { diff --git a/src/http/index.js b/src/http/index.js index 4a985ce3c6..93a5ec172e 100644 --- a/src/http/index.js +++ b/src/http/index.js @@ -70,6 +70,7 @@ function HttpApi (repo, config, cliArgs) { pass: cliArgs && cliArgs.pass, EXPERIMENTAL: { pubsub: cliArgs && cliArgs.enablePubsubExperiment, + dht: cliArgs && cliArgs.enableDhtExperiment, sharding: cliArgs && cliArgs.enableShardingExperiment }, libp2p: libp2p