diff --git a/server.js b/server.js index 9c62f68f2..78c612e69 100644 --- a/server.js +++ b/server.js @@ -150,12 +150,12 @@ const DEFAULT_PROXY_BYPASS = []; const cliArguments = yargs(hideBin(process.argv)) .usage('Usage: [options]') - .option('string', { - type: 'boolean', + .option('enableIPv6', { + type: 'string', default: null, describe: `Enables IPv6.\n[config default: ${DEFAULT_ENABLE_IPV6}]`, - }).option('string', { - type: 'boolean', + }).option('enableIPv4', { + type: 'string', default: null, describe: `Enables IPv4.\n[config default: ${DEFAULT_ENABLE_IPV4}]`, }).option('port', {