docs: use --query instead of -q for clarity

pull/2/head
jackwener 2026-04-17 11:18:32 +08:00
parent e4bfc39c8f
commit 3473f47d1d
2 changed files with 10 additions and 10 deletions

View File

@ -125,14 +125,14 @@ sudo wx init
wx init wx init
``` ```
之后直接用daemon 会在首次调用时自动启动 验证安装
```bash ```bash
wx sessions # 查看最近会话 wx sessions
wx history "张三" # 查看聊天记录
wx search "Claude" # 搜索消息
``` ```
能看到最近会话即表示一切正常。daemon 在首次调用时自动启动。
--- ---
## 命令 ## 命令
@ -153,7 +153,7 @@ wx search "会议" --in "工作群" --since 2026-01-01
```bash ```bash
wx contacts # 联系人列表 wx contacts # 联系人列表
wx contacts -q "李" # 按名字搜索 wx contacts --query "李" # 按名字搜索
wx members "AI交流群" # 群成员列表 wx members "AI交流群" # 群成员列表
``` ```
@ -162,7 +162,7 @@ wx members "AI交流群" # 群成员列表
```bash ```bash
wx favorites # 全部收藏 wx favorites # 全部收藏
wx favorites --type image # 按类型筛选text/image/article/card/video wx favorites --type image # 按类型筛选text/image/article/card/video
wx favorites -q "关键词" # 搜索收藏内容 wx favorites --query "关键词" # 搜索收藏内容
wx stats "AI群" # 聊天统计 wx stats "AI群" # 聊天统计
wx stats "AI群" --since 2026-01-01 # 指定时间范围 wx stats "AI群" --since 2026-01-01 # 指定时间范围
``` ```

View File

@ -121,7 +121,7 @@ wx search "会议" --in "工作群" --since 2026-01-01
```bash ```bash
# 联系人列表 / 搜索 # 联系人列表 / 搜索
wx contacts wx contacts
wx contacts -q "李" wx contacts --query "李"
# 群成员列表 # 群成员列表
wx members "AI交流群" wx members "AI交流群"
@ -137,7 +137,7 @@ wx favorites
wx favorites --type image wx favorites --type image
# 搜索收藏内容 # 搜索收藏内容
wx favorites -q "关键词" wx favorites --query "关键词"
# 聊天统计(发言人、消息类型、活跃时段) # 聊天统计(发言人、消息类型、活跃时段)
wx stats "AI群" wx stats "AI群"
@ -175,7 +175,7 @@ wx search "关键词" --json
wx history "张三" --json -n 50 wx history "张三" --json -n 50
``` ```
CHAT 参数支持昵称、备注名、微信 ID模糊匹配。不确定准确名称时先用 `wx contacts -q` 搜索。 CHAT 参数支持昵称、备注名、微信 ID模糊匹配。不确定准确名称时先用 `wx contacts --query` 搜索。
--- ---
@ -198,4 +198,4 @@ CHAT 参数支持昵称、备注名、微信 ID模糊匹配。不确定准确
**daemon 无响应**`wx daemon stop` 后重新调用任意命令自动重启。 **daemon 无响应**`wx daemon stop` 后重新调用任意命令自动重启。
**找不到聊天**:用 `wx contacts -q` 确认昵称/备注名,或用微信 ID 直接查询。 **找不到聊天**:用 `wx contacts --query` 确认昵称/备注名,或用微信 ID 直接查询。