fix --config usage

This commit is contained in:
DullJZ 2024-03-11 10:55:49 +00:00
parent 124350a9b2
commit 378591ec89

View File

@ -3,7 +3,7 @@
## 下载并使用 ## 下载并使用
1. 在此处,根据自身系统选择合适的版本:[Release](https://github.com/XrayR-project/XrayR/releases) 1. 在此处,根据自身系统选择合适的版本:[Release](https://github.com/XrayR-project/XrayR/releases)
2. 解压压缩包,之后运行:`./XrayR -config config.yml` 2. 解压压缩包,之后运行:`./XrayR --config config.yml`
## 编译并使用 ## 编译并使用
@ -15,7 +15,7 @@
cd XrayR/main cd XrayR/main
go mod tidy go mod tidy
go build -o XrayR -ldflags "-s -w" go build -o XrayR -ldflags "-s -w"
./XrayR -config config.yml ./XrayR --config config.yml
``` ```
配置文件详见:[配置文件说明](../../xrayr-pei-zhi-wen-jian-shuo-ming/config.md) 配置文件详见:[配置文件说明](../../xrayr-pei-zhi-wen-jian-shuo-ming/config.md)