From a74b5e3ad28d34033903eaab0cda4a02fd752fee Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Tue, 26 Jan 2021 20:08:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=83=BD=E7=94=A8=20-h=20=E4=BD=9C?= =?UTF-8?q?=E4=B8=BA=20--host=20=E7=AE=80=E5=86=99=EF=BC=8C=E5=9B=A0?= =?UTF-8?q?=E4=B8=BA=E5=92=8C=20-h=20--help=20=E5=86=B2=E7=AA=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.'],