Commit b92cee5
authored
docs(vx): state which inspection commands support --json (#9638)
`query.md` said all inspection commands support `--json`. `vx segments`
has no such flag (it always
prints JSON) and `vx tree array` accepts it then prints a human tree, so
a script trusting it breaks
either way. Wiring `vx tree array` changes CLI output, so that is left
for an issue.
Also adds `query` and `segments` to the `vx` README, which listed four
of six subcommands.
## Tests
`make -C docs html` succeeds under `--fail-on-warning`, same warning
count as develop.
## AI assistance
Written with agentic AI assistance; I read each command's argument
struct first.
Signed-off-by: jackylee <qcsd2011@gmail.com>1 parent 47fd3e8 commit b92cee5
2 files changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | 12 | | |
11 | 13 | | |
| |||
0 commit comments