Skip to content

配置参数相关 #330

@m1m1sha

Description

@m1m1sha

参数字段是否需要优化一下,配置参数名称是否不太应该出现动词
比如:

  1. enable_ipv6 true|false -> ipv6 true|false
  2. use_smoltcp true|false -> smoltcp true|false
  3. default_protocol tcp|other -> protocol tcp|other
  4. foreign_network_whitelist any -> relay_list any && (--relay && --p2p)

然后参数过多的话,命令行是不是可以只支持重要的几个参数,复杂参数或者不是太必要的应该通过配置文件来指定
优先级:命令行 > 配置文件 > 默认参数

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions