Skip to content

Commit 43d0ce4

Browse files
committed
docs(cli): collapse duplicated walk-flags note to a cross-reference
deps.md and rename.md carried a verbatim-identical paragraph restating --follow-symlinks + file-discovery semantics (MDS037 flags the pair at a lowered threshold); backlinks.md additionally re-explained the tri-state already documented in check.md#flags. Replace all three with one concise sentence that points at check.md, removing the duplicated prose without adding directive or config machinery. mdsmith check . stays green. https://claude.ai/code/session_01NKdWdyXRSuprJWeLARKvBE
1 parent 9d020cb commit 43d0ce4

3 files changed

Lines changed: 9 additions & 18 deletions

File tree

docs/reference/cli/backlinks.md

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,9 @@ entries (`../foo.md`) are rejected with exit code 2.
3030
| `--follow-symlinks` | config | Follow symlinks; tri-state — see below |
3131
| `--max-input-size` | `2MB` | Max file size (e.g. `2MB`, `0`=none) |
3232

33-
`--follow-symlinks` semantics match
34-
[`mdsmith check`](check.md#flags). Omit the flag to
35-
defer to the `follow-symlinks:` config key (default
36-
skip). `--follow-symlinks` (or `=true`) opts in for
37-
this run. `=false` forces skip even when config opts
38-
in.
39-
40-
File discovery follows the `files:` patterns in
41-
`.mdsmith.yml` and the same `ignore:` rules `check` and
42-
`fix` use.
33+
`--follow-symlinks` and file discovery (the `files:` and
34+
`ignore:` patterns in `.mdsmith.yml`) match
35+
[`mdsmith check`](check.md#flags).
4336

4437
## Output
4538

docs/reference/cli/deps.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ with exit code 2.
2929
| `--follow-symlinks` | config | Follow symlinks; tri-state — see below |
3030
| `--max-input-size` | `2MB` | Max file size (e.g. `2MB`, `0`=none) |
3131

32-
`--follow-symlinks` semantics match
33-
[`mdsmith check`](check.md#flags). File discovery
34-
follows the `files:` patterns in `.mdsmith.yml` and the
35-
same `ignore:` rules `check` and `fix` use.
32+
`--follow-symlinks` and file discovery (the `files:` and
33+
`ignore:` patterns in `.mdsmith.yml`) match
34+
[`mdsmith check`](check.md#flags).
3635

3736
## Output
3837

docs/reference/cli/rename.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,9 @@ the conflict. No partial edit is written.
5252
| `--follow-symlinks` | config | Follow symlinks; tri-state — see below |
5353
| `--max-input-size` | `2MB` | Max file size (e.g. `2MB`, `0`=none) |
5454

55-
`--follow-symlinks` semantics match
56-
[`mdsmith check`](check.md#flags). File discovery follows
57-
the `files:` patterns in `.mdsmith.yml` and the same
58-
`ignore:` rules `check` and `fix` use.
55+
`--follow-symlinks` and file discovery (the `files:` and
56+
`ignore:` patterns in `.mdsmith.yml`) match
57+
[`mdsmith check`](check.md#flags).
5958

6059
## Output
6160

0 commit comments

Comments
 (0)