From 1fae3909f7ae9d649e876d71e7da55ae39099556 Mon Sep 17 00:00:00 2001 From: Mmx233 Date: Mon, 28 Aug 2023 22:36:20 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E6=B7=BB=E5=8A=A0=E6=9B=B4=E5=A4=9A?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6d9e18f..327e395 100644 --- a/README.md +++ b/README.md @@ -14,16 +14,16 @@ Openwrt 可以参考 [immortalwrt/packages/net/bitsrunlogin-go](https://github.c 编译结果为可执行文件,下载 release 或编译后直接运行即可 -首次运行将自动生成配置文件,首次使用建议开启调试日志(`settings.log.debug_level`),可以通过添加启动参数 `--config` 指定配置文件路径,默认为当前目录的 `Config.yaml` +首次运行将自动生成配置文件,首次使用建议开启调试日志(`settings.log.debug_level` 设为 `true` 或使用 flag `--debug`),可以通过添加启动参数 `--config` 指定配置文件路径,默认为当前目录的 `Config.yaml` -配置类型支持 `json`、`yaml` +配置类型支持 `json`、`yaml`,默认使用 `yaml` ```shell ./bitsrun --config=./another-config.yaml ./bitsrun --config=/demo/i.json ``` -其他 Flags: +其他 flags: ```text --interface eth0.1 #指定使用 eth0.1 登录,多网卡模式无效 @@ -38,7 +38,7 @@ Config.yaml 说明: form: domain: www.msftconnecttest.com #登录地址 ip 或域名 username: "" #账号 - usertype: cmcc #运营商类型,详情看下方 + usertype: cmcc #运营商类型,详情看下方文字说明 password: "" #密码 meta: #登录参数 "n": "200"