rename envi to envar

This commit is contained in:
Luk Lu
2022-04-03 16:22:22 +08:00
parent 8ad2ce3d15
commit eebd528aee

View File

@@ -27,7 +27,7 @@ try {
// 载入命令行参数
commander
.version(Config.VERSION, '-v, --version') // 默认是 -V。如果要 -v就要加 '-v --version'
.version(Config.Base_Version, '-v, --version') // 默认是 -V。如果要 -v就要加 '-v --version'
.option('-H, --host <host>', 'Host ip or domain name. Default to ' + Config.host)
.option('-P, --protocol <protocol>', 'Web server protocol http|https|httpall|http2https. Default to ' + Config.protocol)
.option('-p, --port <port>', `Server port. Default to ${Config.port?Config.port:'80|443'}`)