diff --git a/server.js b/server.js index b9cfd6b..9b08664 100644 --- a/server.js +++ b/server.js @@ -5,7 +5,7 @@ const Config = require('so.sysconfig')({ commanderOptions: [ // 命令行里可以接受的参数。将传给 config.js 里的 commander。每个参数的定义格式是 [参数名,参数键,描述],后两者用于传给commander,取值后覆盖掉Config里的同名变量。 ['protocol', '-P, --protocol ', 'Web Server protocol: http|https|httpall.'], - ['host', '-h, --host ', 'Host IP or domain name, default to localhost.'], + ['host', '-H, --host ', 'Host IP or domain name, default to localhost.'], ['port', '-p, --port ', 'HTTP port number.'], ['from', '-f, --from ', 'Seed list such as \'["http://ip_or_dn:port"]\' or "noseed" to disable seeding.'],