Page MenuHomeFreeBSD

resolver(5): Overhaul
ClosedPublic

Authored by des on Sun, Jun 28, 8:13 AM.
Tags
None
Referenced Files
F161950451: D57921.diff
Wed, Jul 8, 7:01 AM
Unknown Object (File)
Mon, Jul 6, 11:19 PM
Unknown Object (File)
Mon, Jul 6, 10:13 PM
Unknown Object (File)
Mon, Jul 6, 11:31 AM
Unknown Object (File)
Mon, Jul 6, 1:24 AM
Unknown Object (File)
Mon, Jul 6, 12:15 AM
Unknown Object (File)
Sun, Jul 5, 10:42 PM
Unknown Object (File)
Sun, Jul 5, 10:39 PM
Subscribers

Details

Summary
  • Modernize the markup
  • Describe the comment syntax
  • Drop obsolete advice
  • Capitalize sentences
  • Improve the language
  • Replace no_tld_query with no-tld-query; both are supported, but all the other multi-word options use hyphens rather than underscores.
  • Add missing ENVIRONMENT section
  • Redo the example

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Thank you so much for doing this!

share/man/man5/resolver.5
91

We should use the imperative tone

121

ditto

126

ditto

130

ditto

146

Ditto

159

ditto

168–169

ditto

175–176

Ditto

182–183

ditto

185
188–189

ditto

191
194–195

ditto

197
198–199

ditto

210–211

Ditto

212–213
262

I was talking with Kriszaps, the original mandoc author, about traditions in the manpages and we had a long tangent about how these are not sentences so traditionally we did not capitalize or punctuate them, and I think that's quite nice.

265–285

Can we modernize the examples too? This will facilitate them wrapping better, and also apropos has the option to search examples in the manual.

share/man/man5/resolver.5
265–285

That's not “modernizing the example”, that's turning an example of a complete resolver configuration into a list of examples of resolver configuration fragments.

des marked 17 inline comments as done.

for real this time

des marked an inline comment as done.Thu, Jul 2, 1:52 AM
This revision is now accepted and ready to land.Thu, Jul 2, 2:06 PM
This revision was automatically updated to reflect the committed changes.