Standardize language parameter format in README

Updated language parameter format to use '-l=en' consistently across various commands in the README.
This commit is contained in:
spiritlhl
2026-03-29 22:25:14 +08:00
committed by GitHub
parent a741e293b2
commit 3a4b76ddcd

View File

@@ -79,31 +79,31 @@ Shell version: [https://github.com/spiritLHLS/ecs/blob/main/README_EN.md](https:
- **International users without acceleration:** - **International users without acceleration:**
```bash ```bash
export noninteractive=true && curl -L https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs export noninteractive=true && curl -L https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs -l=en
``` ```
- **International/domestic users with CDN acceleration:** - **International/domestic users with CDN acceleration:**
```bash ```bash
export noninteractive=true && curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs export noninteractive=true && curl -L https://cdn.spiritlhl.net/https://raw.githubusercontent.com/oneclickvirt/ecs/master/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs -l=en
``` ```
- **Domestic users with CNB acceleration:** - **Domestic users with CNB acceleration:**
```bash ```bash
export noninteractive=true && export CN=true && curl -L https://cnb.cool/oneclickvirt/ecs/-/git/raw/main/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs export noninteractive=true && export CN=true && curl -L https://cnb.cool/oneclickvirt/ecs/-/git/raw/main/goecs.sh -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs -l=en
``` ```
- **Short Link:** - **Short Link:**
```bash ```bash
export noninteractive=true && curl -L https://bash.spiritlhl.net/goecs -o goecs.sh && chmod +x goecs.sh && bash goecs.sh install && goecs export noninteractive=true && curl -L https://bash.spiritlhl.net/goecs -o goecs.sh && chmod +x goecs.sh && bash goecs.sh install && goecs -l=en
``` ```
OR OR
```bash ```bash
export noninteractive=true && curl -L https://ba.sh/JrVa -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs export noninteractive=true && curl -L https://ba.sh/JrVa -o goecs.sh && chmod +x goecs.sh && ./goecs.sh install && goecs -l=en
``` ```
**For more accurate testing, please follow the detailed instructions below to install and add non-essential dependencies** **For more accurate testing, please follow the detailed instructions below to install and add non-essential dependencies**
@@ -173,7 +173,7 @@ The following commands control whether dependencies are installed, whether the p
7. **Invoke the menu** 7. **Invoke the menu**
```bash ```bash
goecs -l en goecs -l=en
``` ```
</details> </details>
@@ -286,13 +286,13 @@ Please ensure Docker is installed on your machine before executing the following
Privileged mode + host network Privileged mode + host network
```shell ```shell
docker run --rm --privileged --network host spiritlhl/goecs:latest -menu=false -l en docker run --rm --privileged --network host spiritlhl/goecs:latest -menu=false -l=en
``` ```
Unprivileged mode + non-host network Unprivileged mode + non-host network
```shell ```shell
docker run --rm spiritlhl/goecs:latest -menu=false -l en docker run --rm spiritlhl/goecs:latest -menu=false -l=en
``` ```
Using Docker to execute tests will result in some hardware testing bias and virtualization architecture detection failure. Direct testing is recommended over Docker testing. Using Docker to execute tests will result in some hardware testing bias and virtualization architecture detection failure. Direct testing is recommended over Docker testing.
@@ -304,13 +304,13 @@ Please ensure Docker is installed on your machine before executing the following
Privileged mode + host network Privileged mode + host network
```shell ```shell
docker run --rm --privileged --network host docker.cnb.cool/oneclickvirt/ecs:latest -menu=false -l en docker run --rm --privileged --network host docker.cnb.cool/oneclickvirt/ecs:latest -menu=false -l=en
``` ```
Unprivileged mode + non-host network Unprivileged mode + non-host network
```shell ```shell
docker run --rm docker.cnb.cool/oneclickvirt/ecs:latest -menu=false -l en docker run --rm docker.cnb.cool/oneclickvirt/ecs:latest -menu=false -l=en
``` ```
</details> </details>
@@ -343,7 +343,7 @@ go build -o goecs
4. Run test 4. Run test
```bash ```bash
./goecs -menu=false -l en ./goecs -menu=false -l=en
``` ```
Supported compilation parameters: Supported compilation parameters: