修正命令参数。

Signed-off-by: rick.chan <cy@haoan119.com>
This commit is contained in:
rick.chan 2024-07-29 09:49:23 +08:00
parent 1e82ddcf77
commit 0b77cecfa0
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ nats 工具是以前 nats-sub 和 nats-pub 等工具的集合,可通过该工
```bash
# 添加 Context
nats [--user=<user>] [--password=<password>] context add <name> --server <nats://network addr:port> --description <description>
nats context add <name> [--user=<user>] [--password=<password>] --server=<nats://network addr:port> [--description=<"description">]
# 查看全部已添加的 Context
nats context ls
# 激活某 Context