From 8d01de13b95db0c83e1cb94526a742f06b707a42 Mon Sep 17 00:00:00 2001 From: soulteary Date: Sun, 7 May 2023 14:12:58 +0800 Subject: [PATCH] docs: update version 1.1.1 --- README.md | 6 +++--- README_CN.md | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8bc4a85..4cacae9 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ If you use docker, you can use the following command ([DockerHub](https://hub.do ```bash docker pull soulteary/nginx-formatter:latest -docker pull soulteary/nginx-formatter:v1.1.0 +docker pull soulteary/nginx-formatter:v1.1.1 ``` ## Usage @@ -74,13 +74,13 @@ specified the port: There is no difference between using parameters in Docker and the above, for example, we start a Web UI formatting tool service in Docker: ```bash -docker run --rm -it -p 8080:8080 soulteary/nginx-formatter:v1.1.0 -web +docker run --rm -it -p 8080:8080 soulteary/nginx-formatter:v1.1.1 -web ``` If you want to format the configuration of the current directory, you can use the program in Docker with a command similar to the following: ```bash -docker run --rm -it -v `pwd`:/app soulteary/nginx-formatter:v1.1.0 -input=/app +docker run --rm -it -v `pwd`:/app soulteary/nginx-formatter:v1.1.1 -input=/app ``` ## Full parameters supported diff --git a/README_CN.md b/README_CN.md index f6e02fa..6378a9f 100644 --- a/README_CN.md +++ b/README_CN.md @@ -22,7 +22,7 @@ ```bash docker pull soulteary/nginx-formatter:latest -docker pull soulteary/nginx-formatter:v1.1.0 +docker pull soulteary/nginx-formatter:v1.1.1 ``` ## 程序使用 @@ -74,14 +74,14 @@ docker pull soulteary/nginx-formatter:v1.1.0 在 Docker 中使用和上面没有什么区别,比如我们启动一个在 Docker 中的 Web UI 格式化工具服务: ```bash -docker run --rm -it -p 8080:8080 soulteary/nginx-formatter:v1.1.0 -web +docker run --rm -it -p 8080:8080 soulteary/nginx-formatter:v1.1.1 -web ``` 如果你希望格式化当前目录的配置,可以通过类似下面的命令,来使用 Docker 中的程序: ```bash -docker run --rm -it -v `pwd`:/app soulteary/nginx-formatter:v1.1.0 -input=/app +docker run --rm -it -v `pwd`:/app soulteary/nginx-formatter:v1.1.1 -input=/app ```