Skip to content

Commit

Permalink
Update options.md
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf authored Mar 15, 2023
1 parent 2e2f2d5 commit 5fe3fa9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions docs/options.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@
./prepare.php +mimalloc -mongodb --with-brotli=yes --conf-path="./conf.d" @linux
```

参数设置也可以使用环境变量来代替,格式为 `SWOOLE_CLI_{$option}` ,需要将参数的中横线`-`替换为下划线`_`,例如:

```shell
./prepare.php --skip-download
```

也可以写作:
```shell
SWOOLE_CLI_SKIP_DOWNLOAD=yes ./prepare.php
```

skip-download
----
跳过下载依赖库
Expand Down

0 comments on commit 5fe3fa9

Please sign in to comment.