tldr/pages/common/idnits.md

727 B

idnits

Check internet-drafts for submission nits. Looks for violations of Section 2.1 and 2.2 of the requirements listed on https://www.ietf.org/id-info/checklist. More information: https://tools.ietf.org/tools/idnits/.

  • Check a file for nits:

idnits {{path/to/file.txt}}

  • Count nits without displaying them:

idnits --nitcount {{path/to/file.txt}}

  • Show extra information about offending lines:

idnits --verbose {{path/to/file.txt}}

  • Expect the specified year in the boilerplate instead of the current year:

idnits --year {{2021}} {{path/to/file.txt}}

  • Assume the document is of the specified status:

idnits --doctype {{standard|informational|experimental|bcp|ps|ds}} {{path/to/file.txt}}