Commit cff1c31
committed
Clarify that -p has no effect with --recurse
The previous help text, inline comment, changelog entry, and CLI
docs all stated that -p/--allow-private-address affects URLs
discovered via --recurse, but recursive fetches hardcode
`allowPrivateAddress: false` and never honor the option. Update
the CLI help, the loader-split comment in `runLookup`, the 2.1.6
changelog entry, and the `-p` section of `docs/cli.md` so that they
all describe the same actual behavior: the option only gates URLs
discovered during --traverse, while --recurse always disallows
private addresses.
#696
#698
Assisted-by: Claude Code:claude-opus-4-71 parent 6924183 commit cff1c31
3 files changed
Lines changed: 17 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
991 | 991 | | |
992 | 992 | | |
993 | 993 | | |
994 | | - | |
995 | | - | |
996 | | - | |
997 | | - | |
| 994 | + | |
| 995 | + | |
| 996 | + | |
998 | 997 | | |
999 | 998 | | |
1000 | 999 | | |
| |||
1004 | 1003 | | |
1005 | 1004 | | |
1006 | 1005 | | |
1007 | | - | |
| 1006 | + | |
1008 | 1007 | | |
1009 | 1008 | | |
1010 | 1009 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
91 | 92 | | |
92 | 93 | | |
93 | 94 | | |
| |||
721 | 722 | | |
722 | 723 | | |
723 | 724 | | |
724 | | - | |
725 | | - | |
| 725 | + | |
| 726 | + | |
| 727 | + | |
| 728 | + | |
726 | 729 | | |
727 | 730 | | |
728 | 731 | | |
| |||
0 commit comments