rename configEnvar() to mergeEnvar()
This commit is contained in:
parent
fe3d67ee6b
commit
3d6957ad8b
@ -3,7 +3,7 @@ const path = require('path')
|
||||
const express = require('express')
|
||||
|
||||
const wo = (global.wo = {
|
||||
envar : require('base.enviconfig').configEnvar({rawEnvar: {
|
||||
envar : require('base.enviconfig').mergeEnvar({rawEnvar: {
|
||||
Commander_Option_List: [
|
||||
// 命令行里可以接受的参数。将传给 config.js 里的 commander。每个参数的定义格式是 [参数名,参数键,描述],后两者用于传给commander,取值后覆盖掉Config里的同名变量。
|
||||
['Web_Protocol', '-P, --Web_Protocol <string>', 'Web protocol: http|https|httpall.'],
|
||||
|
Loading…
Reference in New Issue
Block a user