#10459: docs: replace --to with --target in message send example
stale
Fixes the README command example to match current CLI flags.
- `openclaw message send --to ...` -> `openclaw message send --target ...`
Closes #10458.
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
- Updates the README “message send” quick-start example to use the current `--target` flag instead of the deprecated `--to`.
- Keeps the rest of the quick-start flow unchanged (onboard → gateway → send message → agent).
- Aligns documentation with the CLI option naming used in `src/cli/program/register.message.ts` / related message command wiring.
<h3>Confidence Score: 5/5</h3>
- This PR is safe to merge; it is a small, correct documentation-only flag rename.
- The change is limited to a single README command example and matches the CLI’s existing `--target` option usage in the codebase; no functional code paths are modified.
- README.md
<!-- greptile_other_comments_section -->
<sub>(2/5) Greptile learns from your feedback when you react with thumbs up/down!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#19143: fix: support target param in message tool send extraction
by botverse · 2026-02-17
77.2%
#23757: docs: replace outdated legacy names and paths
by jainilDesai · 2026-02-22
75.8%
#17070: fix(telegram): Outbound: ignore empty legacy target fields
by yhw2003 · 2026-02-15
75.6%
#8203: fix clawdbot references
by anton-roos · 2026-02-03
75.4%
#14784: fix(browser): clarify stale targetId errors (tab not found)
by sovushik · 2026-02-12
75.0%
#23723: feat(message): improve send param ergonomics and actionable routing...
by SmithLabsLLC · 2026-02-22
74.9%
#6235: fix: from source development command
by witcxc · 2026-02-01
74.6%
#11048: fix: address repository issues (env, author, CI comments, security ...
by cavula · 2026-02-07
73.6%
#15853: feat: add option to suppress media placeholder text
by MisterGuy420 · 2026-02-14
73.6%
#7252: docs: align config examples and tool docs with current runtime
by nice-and-precise · 2026-02-02
73.6%