Update commands

Add `certChainHash`
Provide more details
This commit is contained in:
Kobe Arthur Scofield 2022-06-19 15:39:06 +08:00 committed by GitHub
parent 0589684131
commit e832e96003
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,12 +45,16 @@ Xray. Multiple assign is accepted.
The -confdir=dir flag sets a dir with multiple json config
The -format=json flag sets the format of config files.
Default "json".
Default "auto".
The -test flag tells Xray to test config files only,
without launching the server
```
::: tip
配置文件除了默认的 JSON 格式外,也可以使用 TOML 和 YAML。在不指定格式的前提下会通过文件扩展名识别。
:::
### xray version
输出 Xray 版本、 Golang 版本等信息。
@ -93,8 +97,9 @@ xray tls <command> [arguments]
```
```
cert Generate TLS certificates
ping Ping the domain with TLS handshake
cert Generate TLS certificates
ping Ping the domain with TLS handshake
certChainHash Calculate TLS certificates hash.
```
### xray uuid
@ -104,7 +109,7 @@ xray tls <command> [arguments]
使用方法:
```
xray uuid
xray uuid [-i "example"]
```
::: tip
@ -112,4 +117,4 @@ xray uuid
- 工作目录Working Directory
- [环境变量](../config/features/env.md#资源文件路径)中`Xray.location.asset`所指定的路径
:::
:::