Commit fbc7cd5
committed
docs(cli): update --format json example to match the new field order
The struct-layout fix in internal/output.jsonDiagnostic (previous
commit) reordered Go struct fields to group pointer-containing fields
before scalars, which changes encoding/json's emitted key order. This
reference page's --format json example still showed the pre-fix
order. Verified against actual `mdsmith check --format json` output.
Found by an independent adversarial review pass on PR #765.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SNiF3CVZG2NCizbsTgur4V1 parent 24c91c0 commit fbc7cd5
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | 157 | | |
160 | 158 | | |
161 | 159 | | |
162 | 160 | | |
163 | 161 | | |
| 162 | + | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments