summaryrefslogtreecommitdiff
path: root/docs/usage.md
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2025-09-07 11:26:10 +0300
committerPaul Buetow <paul@buetow.org>2025-09-07 11:26:10 +0300
commit8889949ad3851bfbf36ff5b73128286d67c88201 (patch)
tree0f515ae6ee3da898dea113799c09e943f3e3f8fb /docs/usage.md
parent7c0266e94378f6121719939c6d53915eb72eed3e (diff)
tiding up
Diffstat (limited to 'docs/usage.md')
-rw-r--r--docs/usage.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/usage.md b/docs/usage.md
index a5c5dca..05d6c55 100644
--- a/docs/usage.md
+++ b/docs/usage.md
@@ -110,7 +110,13 @@ hexai 'install ripgrep on macOS and explain'
- Choose an action with arrow keys, `j/k`, `g/G`, Enter, or hotkeys `[s] [r] [c] [t]`.
- Output is written to stdout by default, or to a file via `--outfile`.
-Input formats are the same as described in the README (inline instruction markers for rewrite; optional `Diagnostics:` header block).
+Input formats
+
+- Rewrite: include an inline instruction near the top of the selection using one of:
+ - `;do something;`
+ - `/* do something */`
+ - `<!-- do something -->`
+ - `// do something` (or `#`, `--`)
Examples